[ 
https://issues.apache.org/jira/browse/CALCITE-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166616#comment-17166616
 ] 

Julian Hyde commented on CALCITE-4139:
--------------------------------------

Fix looks good.

For others viewing your change in future, it's helpful if, for the JIRA summary 
and commit message, you describe the problem, not the fix. The problem is (I 
believe) 'ListTransientTable with a single column throws NullPointerException 
if one of its elements is null'.

> Prevent NPE in ListTransientTable
> ---------------------------------
>
>                 Key: CALCITE-4139
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4139
>             Project: Calcite
>          Issue Type: Task
>          Components: core
>            Reporter: Ruben Q L
>            Assignee: Ruben Q L
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.25.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> ListTransientTable#scan returns an enumerator that can potentially lead to 
> NPE. Code should be fixed to prevent this from happening.



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

Reply via email to