iamazy / elasticsearch-sql

parse sql into elasticsearch dsl with antlr4
https://iamazy.github.io/elasticsearch-sql/
MIT License
340 stars 89 forks source link

能否支持sum( CASE WHEN nstat = 'C' THEN fee_count ELSE 0 END ) #100

Open Zengweilu opened 2 years ago

Zengweilu commented 2 years ago

测试是sum( CASE WHEN nstat = 'C' THEN fee_count ELSE 0 END )不支持 还有子查询也不支持 sum( CASE WHEN nstat < 0 THEN fee_count ELSE 0 END ) 大于小于应该也不支持 能否支持一下

iamazy commented 1 year ago

暂不支持这么复杂的语句,有兴趣可以一起研究怎么实现下,欢迎pr