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


##########
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:
   The logic of the function has also been changed.
   
   So I think the commit message is not accurate enough.



-- 
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]

Reply via email to