Hi,guys,I want to use hive sql to query real-time ES data.As the doc
says,first I must create a external table while I transfer sql to
rest-query? And then I use sql to query data from the external table?
Can I directly use sql to query ES? I am confused with that process.
Thank you!
You cannot use Hive SQL without Hive. In other words, with es-hadoop, you cannot just use arbitrary SQL on top of Elastic.
What you can however interact with Elasticsearch from within a Hive environment, meaning you can execute Hive SQL on top
of Hive
which underneath communicates with Elastic.
This is explained in the docs in the Hive chapter [1]
Hi,guys,I want to use hive sql to query real-time ES data.As the doc says,first I must create a external table while I
transfer sql to rest-query? And then I use sql to query data from the external table?
Can I directly use sql to query ES? I am confused with that process.
Thank you!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.