[
https://issues.apache.org/jira/browse/FLINK-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587416#comment-14587416
]
ASF GitHub Bot commented on FLINK-2210:
---------------------------------------
Github user Shiti commented on the pull request:
https://github.com/apache/flink/pull/834#issuecomment-112276475
@aljoscha is there a way we can define functions for expressions? I tried
replacing Literal(1) with IsNotNull but I don't know if its possible to define
a function that converts Boolean to Int (1 or 0).
> Table API aggregate by ignoring null values
> -------------------------------------------
>
> Key: FLINK-2210
> URL: https://issues.apache.org/jira/browse/FLINK-2210
> Project: Flink
> Issue Type: Bug
> Reporter: Shiti Saxena
> Assignee: Shiti Saxena
> Priority: Minor
>
> Attempting to aggregate on columns which may have null values results in
> NullPointerException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)