zstan commented on code in PR #13274:
URL: https://github.com/apache/ignite/pull/13274#discussion_r3549318881
##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/RexImpTable.java:
##########
@@ -1562,12 +1572,15 @@ private static class CastImplementor extends
AbstractRexCallImplementor {
/** {@inheritDoc} */
@Override Expression implementSafe(final RexToLixTranslator translator,
final RexCall call, final List<Expression> argValueList) {
- assert call.getOperands().size() == 1;
+ assert call.operandCount() <= 2;
Review Comment:
sorry, missed, i revert it, we need to align it with current calcite runtime
in future
--
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]