[jira] [Commented] (FLINK-24997) count(null) not supported in flink sql query

2021-11-22 Thread zouyunhe (Jira)
[ https://issues.apache.org/jira/browse/FLINK-24997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447767#comment-17447767 ] zouyunhe commented on FLINK-24997: -- OK [~icshuo]  > count(null) not supported in flink

[jira] [Commented] (FLINK-24997) count(null) not supported in flink sql query

2021-11-22 Thread Shuo Cheng (Jira)
[ https://issues.apache.org/jira/browse/FLINK-24997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447766#comment-17447766 ] Shuo Cheng commented on FLINK-24997: [~zouyunhe] you can follow the similar Jira FLI

[jira] [Commented] (FLINK-24997) count(null) not supported in flink sql query

2021-11-22 Thread zouyunhe (Jira)
[ https://issues.apache.org/jira/browse/FLINK-24997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447765#comment-17447765 ] zouyunhe commented on FLINK-24997: -- [~jark] [~icshuo] the calcite can not deduce the ty

[jira] [Commented] (FLINK-24997) count(null) not supported in flink sql query

2021-11-22 Thread zouyunhe (Jira)
[ https://issues.apache.org/jira/browse/FLINK-24997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447764#comment-17447764 ] zouyunhe commented on FLINK-24997: -- [~icshuo] it works by use `select count(cast(null a

[jira] [Commented] (FLINK-24997) count(null) not supported in flink sql query

2021-11-22 Thread Jark Wu (Jira)
[ https://issues.apache.org/jira/browse/FLINK-24997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447762#comment-17447762 ] Jark Wu commented on FLINK-24997: - I agree with [~icshuo]. But the exception can be impr

[jira] [Commented] (FLINK-24997) count(null) not supported in flink sql query

2021-11-22 Thread Shuo Cheng (Jira)
[ https://issues.apache.org/jira/browse/FLINK-24997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447758#comment-17447758 ] Shuo Cheng commented on FLINK-24997: Flink use Calcite to parse SQL, and Calcite has