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 2019/12/10 10:53:52 UTC

[GitHub] [calcite] DonnyZone opened a new pull request #1644: [CALCITE-3564] Unify function's operands type check in validation and runtime

DonnyZone opened a new pull request #1644: [CALCITE-3564] Unify function's operands type check in validation and runtime
URL: https://github.com/apache/calcite/pull/1644
 
 
   SqlFunction(MOD) allows `OperandTypes.EXACT_NUMERIC_EXACT_NUMERIC`, but it does not implement interfaces for `(long, decimal)`. It is straightforward to fix the issue in runtime layer.
   While `RAND/RAND_INTEGER` accept integer arguments, it is reasonable to throw exception in validation phase.

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


With regards,
Apache Git Services