[ 
https://issues.apache.org/jira/browse/CALCITE-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesus Camacho Rodriguez resolved CALCITE-2669.
----------------------------------------------
    Resolution: Fixed

Fixed in 
[fcc8bf7f4|http://git-wip-us.apache.org/repos/asf/calcite/commit/fcc8bf7f4].

> RelMdTableReferences should check whether references inferred from input are 
> null for Union/Join operators
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-2669
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2669
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>             Fix For: 1.18.0
>
>
> Currently, there is no check and we iterate directly over the set returned, 
> which may lead to a NPE if there is an operator underneath that is not 
> supported.
> https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rel/metadata/RelMdTableReferences.java#L111



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to