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

Ian Bertolacci commented on CALCITE-2626:
-----------------------------------------

I actually think these are the same issue from different perspectives.

The original issue talks about the types, and I'm talking about the names, but 
the cause is the same: the RelBuilder is copying the fields (their types and 
their names) from the left and right side, without any respect for the 
semantics of how those fields are manipulated (in nullability and 
de-collisioning).

 

> RelBuilder generates wrong field list for join
> ----------------------------------------------
>
>                 Key: CALCITE-2626
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2626
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.17.0
>            Reporter: Pavel Gubin
>            Priority: Major
>
> When building OUTER JOIN RelBuilder doesn't change nullability of underlying 
> fields just copying them as is. But with outer join fields shall become 
> nullable at appropriate sides of join.
> The error is at these lines:
> https://github.com/apache/calcite/blob/fb7914ec61fc57c8348d9da144e2fbd608c00c61/core/src/main/java/org/apache/calcite/tools/RelBuilder.java#L1546



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to