JiajunBernoulli commented on code in PR #3299:
URL: https://github.com/apache/calcite/pull/3299#discussion_r1256768318


##########
core/src/test/java/org/apache/calcite/rex/RexProgramBuilderBase.java:
##########
@@ -756,8 +759,8 @@ protected RexNode vParam(String name, RelDataType type) {
    */
   protected RexNode vParam(String name, int arg, RelDataType type) {
     assertArgValue(arg);
-    RelDataType nonNullableType = typeFactory.createTypeWithNullability(type, 
false);
-    return rexBuilder.makeFieldAccess(getDynamicParam(nonNullableType, name), 
arg);
+    RelDataType nullableType = typeFactory.createTypeWithNullability(type, 
true);

Review Comment:
   How about `Adjust nullableType  and java doc for RexProgramBuilderBase`?



-- 
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: commits-unsubscr...@calcite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to