You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2020/05/17 16:30:00 UTC
[jira] [Closed] (FLINK-17649) Generated hash aggregate code may
produce NPE when there exists an aggregate call with Filter.
[ https://issues.apache.org/jira/browse/FLINK-17649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingsong Lee closed FLINK-17649.
--------------------------------
Assignee: Shuo Cheng
Resolution: Fixed
master: cc8bf3426a0d43560d3e55337ceab48f80db43f7
> 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
> Assignee: Shuo Cheng
> Priority: Major
> Labels: pull-request-available
> 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)