[HIVE] Validate field extraction

Check whether the field indicated by the user is present in the table
schema to avoid NPE.

Fix #259

(cherry picked from commit 57183bbcff0a2acf54e62dc2871b4a4662a6cfa8)
[HIVE] Validate field extraction

Double check JSON input (which has a different schema)

Relates #259

(cherry picked from commit e479bc27d9e8de7a9a7827490b7a4496576c19ef)