drill 试用

1. 下载
  1. http://drill.apache.org/
2. 启动本地模式
  1. bin/sqlline -u jdbc:drill:zk=local
3. 查询数据
  1. select c.r_name from dfs.`/opt/apache-drill-1.10.0/sample-data/region.parquet` c where c.r_name like 'A%'
4. json 文件查询
  1. select t.info.name from (select flatten(c.data) info from dfs.`/opt/apache-drill-1.10.0/sample-data/info.json` c ) t
5. 可视化界面
  1. http://localhost:8047
 

posted on 2017-05-31 07:35  荣锋亮  阅读(239)  评论(0编辑  收藏  举报

导航