Skip to content

[CALCITE-2290] Fix type issue while flattening#708

Closed
laurentgo wants to merge 1 commit intoapache:masterfrom
laurentgo:laurentgo/CALCITE-2290
Closed

[CALCITE-2290] Fix type issue while flattening#708
laurentgo wants to merge 1 commit intoapache:masterfrom
laurentgo:laurentgo/CALCITE-2290

Conversation

@laurentgo
Copy link
Copy Markdown
Contributor

Fix an issue during flattening of the rel structure where type nullability
is removed from an expression during rewrite, by instructing
RexBuilder#makeCast to preserve it.

Fix an issue during flattening of the rel structure where type nullability
is removed from an expression during rewrite, by instructing
RexBuilder#makeCast to preserve it.
@vlsi vlsi added returned-with-feedback There are review comments (in JIRA and/or in GitHub) to be implemented before merging the PR discussion-in-jira There's open discussion in JIRA to be resolved before proceeding with the PR tests-missing labels Jan 8, 2019
@siddharthteotia
Copy link
Copy Markdown
Contributor

@laurentgo , I tried the test case on master 1.19.0-SNAPSHOT and it works.
I see the actual plan as:

LogicalProject(RES2=[true])
LogicalValues(tuples=[[{ 1 }]])

Can you please close this PR?

@zabetak
Copy link
Copy Markdown
Member

zabetak commented Feb 27, 2019

@vlsi and @siddharthteotia observed that the test no longer fails in master 1.19.0-SNAPSHOT. Since @laurentgo didn't follow up I am closing this PR and the respective JIRA.

@zabetak zabetak closed this Feb 27, 2019
@laurentgo laurentgo deleted the laurentgo/CALCITE-2290 branch May 17, 2019 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

discussion-in-jira There's open discussion in JIRA to be resolved before proceeding with the PR returned-with-feedback There are review comments (in JIRA and/or in GitHub) to be implemented before merging the PR tests-missing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants