when query elasticsearch6 by presto, Log append error like below:
"java.lang.IllegalArgumentException: Multiple entries with same key: _id=ElasticsearchColumnHandle{name=_Id, type=varchar, keyword=true"
show table can work correct.
"
presto:default> show tables;
Table
accompanylogs_index
"
query can't work .
"
resto:default> select id from accompanylogs_index;
Query is gone (server restarted?)
"
log like below.
"
2018-12-20T11:56:38.485+0800 WARN statement-response-4 com.facebook.presto.server.ThrowableMapper Request failed for /v1/statement/20181220_035638_00008_c79ve/1
java.lang.IllegalArgumentException: Multiple entries with same key: _id=ElasticsearchColumnHandle{name=_id, type=varchar, keyword=false, comment=, hidden=true} and _id=ElasticsearchColumnHandle{name=_Id, type=varchar, keyword=true, comment=_扩展字段用于match_query, hidden=true}
"
when query elasticsearch6 by presto, Log append error like below: "java.lang.IllegalArgumentException: Multiple entries with same key: _id=ElasticsearchColumnHandle{name=_Id, type=varchar, keyword=true"
show table can work correct. " presto:default> show tables; Table
accompanylogs_index " query can't work . " resto:default> select id from accompanylogs_index; Query is gone (server restarted?) "
log like below. " 2018-12-20T11:56:38.485+0800 WARN statement-response-4 com.facebook.presto.server.ThrowableMapper Request failed for /v1/statement/20181220_035638_00008_c79ve/1 java.lang.IllegalArgumentException: Multiple entries with same key: _id=ElasticsearchColumnHandle{name=_id, type=varchar, keyword=false, comment=, hidden=true} and _id=ElasticsearchColumnHandle{name=_Id, type=varchar, keyword=true, comment=_扩展字段用于match_query, hidden=true} "