danny0405 commented on a change in pull request #1517: [CALCITE-3426]
compensate validConstant type in RexLiteral.
URL: https://github.com/apache/calcite/pull/1517#discussion_r336293402
##########
File path: core/src/main/java/org/apache/calcite/rex/RexLiteral.java
##########
@@ -456,9 +456,13 @@ private static RexDigestIncludeType
shouldIncludeType(Comparable value, RelDataT
* criteria as {@link #valueMatchesType}. */
public static boolean validConstant(Object o, Litmus litmus) {
if (o == null
Review comment:
It seems that this method is only used in tests ?
----------------------------------------------------------------
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]
With regards,
Apache Git Services