You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/08/07 10:30:53 UTC

[GitHub] [calcite] danny0405 opened a new pull request #2101: [CALCITE-4167] Group by COALESCE IN throws NullPointerException

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:
users@infra.apache.org



[GitHub] [calcite] danny0405 merged pull request #2101: [CALCITE-4167] Group by COALESCE IN throws NullPointerException

Posted by GitBox <gi...@apache.org>.
danny0405 merged pull request #2101:
URL: https://github.com/apache/calcite/pull/2101


   


----------------------------------------------------------------
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:
users@infra.apache.org