JiajunBernoulli commented on code in PR #3334:
URL: https://github.com/apache/calcite/pull/3334#discussion_r1278270389
##########
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:
##########
@@ -5269,6 +5274,20 @@ private static SqlNode getNthExpr(SqlNode query, int
ordinal, int sourceCount) {
SqlInsert insertCallAfterValidate = call.getInsertCall();
if (insertCallAfterValidate != null) {
validateInsert(insertCallAfterValidate);
+ // Validate NULL
Review Comment:
Good idea.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]