-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CALCITE-6764] Field access from a nullable ROW should be nullable (part 2) #4139
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing major but I am confused on a couple of points @mihaibudiu, can you take a look?
core/src/test/java/org/apache/calcite/test/TableInRootSchemaTest.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java
Show resolved
Hide resolved
core/src/test/java/org/apache/calcite/test/TableInRootSchemaTest.java
Outdated
Show resolved
Hide resolved
@asolimando I have pushed a commit which hopefully addresses your comments. |
I will write a few more tests, so I will mark this PR as draft until I am sure it passes all of them. Hopefully this won't take too long. |
Thanks @mihaibudiu, LGTM, just proposed two improved test names, the rest is good, feel free to ping me for an extra review round once the extra tests are ready, if needed |
core/src/test/java/org/apache/calcite/test/TableInRootSchemaTest.java
Outdated
Show resolved
Hide resolved
core/src/test/java/org/apache/calcite/test/TableInRootSchemaTest.java
Outdated
Show resolved
Hide resolved
…art 2) Signed-off-by: Mihai Budiu <[email protected]>
Signed-off-by: Mihai Budiu <[email protected]>
Signed-off-by: Mihai Budiu <[email protected]>
The complete fix required some additions to the type factory interfaces and making a method public. |
Quality Gate passedIssues Measures |
We have already merged a PR fixing this issue, but I have reopened it, and this is a second PR addressing a second bug related to the same problem.