zstan commented on code in PR #2368:
URL: https://github.com/apache/ignite-3/pull/2368#discussion_r1277733328


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/IgniteSqlValidator.java:
##########
@@ -358,11 +358,22 @@ public void validateAggregateParams(SqlCall aggCall,
     public RelDataType deriveType(SqlValidatorScope scope, SqlNode expr) {
         RelDataType dataType = super.deriveType(scope, expr);
 
+        // If type of dynamic parameter has not been inferred, use a type of 
its value.

Review Comment:
   make sense, done.



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