danny0405 commented on a change in pull request #1544: [CALCITE-3415] Supports
REGEXP_SUBSTR function
URL: https://github.com/apache/calcite/pull/1544#discussion_r340456943
##########
File path: core/src/main/java/org/apache/calcite/sql/type/OperandTypes.java
##########
@@ -408,6 +408,11 @@ private boolean hasFractionalPart(BigDecimal bd) {
family(SqlTypeFamily.STRING, SqlTypeFamily.STRING,
SqlTypeFamily.INTEGER, SqlTypeFamily.INTEGER);
+ public static final SqlSingleOperandTypeChecker
STRING_STRING_INTEGER_INTEGER_STRING =
+ family(SqlTypeFamily.STRING, SqlTypeFamily.STRING,
+ SqlTypeFamily.INTEGER, SqlTypeFamily.INTEGER,
Review comment:
This is not that necessary, you can new a fresh one directly where you need
this.
----------------------------------------------------------------
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