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