[es-sql] 不支持distinct去重,可以用group by来实现
前言同组的同事问我es-sql怎么实现字段去重
select DISTINCT channel from index where name =name and channelType = channelType发现这段sql是实现不了字段去重的。去es-sql的github:https://github.com/NLPchina/elasticsearch-sql/转了一圈,发现
SQL Fea
原创
2017-05-31 11:10:23 ·
10626 阅读 ·
1 评论