libenchao commented on code in PR #2918:
URL: https://github.com/apache/calcite/pull/2918#discussion_r981219448
##########
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:
##########
@@ -235,8 +235,11 @@ public class SqlValidatorImpl implements
SqlValidatorWithHints {
private int nextGeneratedId;
protected final RelDataTypeFactory typeFactory;
-
- /** The type of dynamic parameters until a type is imposed on them. */
+ /**
+ * The type of dynamic parameters until a type is imposed on them.
+ * It is assumed that dynamic parameter is nullable.
+ * See {@link #inferUnknownTypes(RelDataType, SqlValidatorScope, SqlNode)}
Review Comment:
The new comment looks good.
--
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]