Shuo Cheng created FLINK-17649:
----------------------------------

             Summary: Generated hash aggregate code may produce NPE when there 
exists an aggregate call with Filter.
                 Key: FLINK-17649
                 URL: https://issues.apache.org/jira/browse/FLINK-17649
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.10.1
            Reporter: Shuo Cheng
             Fix For: 1.11.0


When generating code for Filter predicate of aggregate call in 
`HashAggCodeGenHelper`, we should check the nullability of the boolean field 
firstly rather than `getBoolean` directly, otherwise, NPE may be produced.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to