hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Kravzov <igork.ine...@gmail.com>
Subject Is it possible to use external table on top of Elasticsearch index for arbitrary FTS
Date Mon, 30 May 2016 17:53:46 GMT
I know that external table can be defined like this

CREATE EXTERNAL TABLE artists (
    id      BIGINT,
    name    STRING,
    links   STRUCT<url:STRING, picture:STRING>)
STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler'
TBLPROPERTIES('es.resource' = 'radio/artists', 'es.query' = '?q=me*');


But can I just define table without es.query parameter and later run
arbitrary FTS searches?

Thanks in advance.

Mime
View raw message