sql语句:select sum(case when (ID is null or ID = '') then 1 else 0 end) as num from (select * from TABLE_AAA) tt
报错:sql异常errCode = 2, detailMessage = Unexpected exception: null
使用explain也报错!
sql语句:select sum(case when (ID is null or ID = '') then 1 else 0 end) as num from (select * from TABLE_AAA) tt
报错:sql异常errCode = 2, detailMessage = Unexpected exception: null
使用explain也报错!
show variables like "%ner%"; 看下:
experimental_enable_nereids_planner是true还是false。
打开关闭分别测试下的