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-6400] MAP_ENTRIES function should throw if a key value is null #3787
Conversation
In spark, this is an error that occurs in function execution, not in type verification, so I modified the method in sqlfunctions |
looks good to me in general. just one question, does this exception have to be thrown at runtime? i noticed that the exception is thrown directly in SqlFunctions. |
@chucheng92 Thank you for your review. I write this because spark has this mechanism, but calcite is usually checked in OperadandChecker. |
I don't know what "opera" and "checker" are. |
Sorry, typo, it should be OperaandChecker |
@caicancai could you improve the current commit name? It is different from jira and pr names. |
ec90eb8
to
4cec326
Compare
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java
Outdated
Show resolved
Hide resolved
The issue is about map_entries, but this PR fixes the arguments to the map constructor. |
Thanks, I will modify the jira summary, the description is being discussed in jira |
Quality Gate passedIssues Measures |
https://issues.apache.org/jira/browse/CALCITE-6400