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


With regards,
Apache Git Services

Reply via email to