apache-druid配置操作

SQL查询

SELECT * FROM demo2 WHERE __time BETWEEN '2018-10-01 00:00:00' AND '2018-10-12 15:00:00'
SELECT COUNT(*) AS total, czyid, dlip FROM demo2 
WHERE __time < '2018-10-12T16:00'
GROUP BY czyid, dlip

apache-druid配置操作_第1张图片

nohup ./start-micro.sh &> /opt/druid/logs/server.log &

 

你可能感兴趣的:(java)