We created the Hive external table using ElasticSearch StorageHandler as shown below:
CREATE EXTERNAL TABLE DEFAULT.ES_TEST ( REG_DATE STRING , STR1 STRING