danny0405 opened a new pull request #2101:
URL: https://github.com/apache/calcite/pull/2101


   The root cause is that the operands type was wrongly replaced by
   SqlToRelConverter#adjustInputRef, actually, for a agg as root, there is
   no need to do any adjust. because the nullability does not change and
   the agg type is not same with the bb's scope.
   
   To fix, tweak the #adjustInputRef to only fix type nullability, if there
   are cases that the type name also changes, just return the original node and
   let the subsequent conversion work flow throws.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to