elasticsearch搜索功能強勁,就是查詢語法複雜,presto提供了很是open的plugin機制,我改進了下原有的presto-elasticsearch connector,現發佈於githubgit
運行辦法
在etc/catalog目錄下添加es.properties便可,內容以下github
connector.name=elasticsearch elasticsearch-server=localhost elasticsearch-port=9300 elasticsearch-clustername=elasticsearch_demo
時間倉促,錯誤在所不免,歡迎批評指正。elasticsearch
https://github.com/hseagle/presto
版本: es_prorest