danny0405 commented on a change in pull request #1380: [CALCITE-3252] Syntax
error while parsing CONVERT_TIMEZONE, TO_DATE, TO_TIMESTAMP functions on
Redshift
URL: https://github.com/apache/calcite/pull/1380#discussion_r314158677
##########
File path: core/src/main/java/org/apache/calcite/sql/type/OperandTypes.java
##########
@@ -240,6 +240,9 @@ public Consistency getConsistency() {
public static final SqlSingleOperandTypeChecker INTERVAL =
family(SqlTypeFamily.DATETIME_INTERVAL);
+ public static final SqlSingleOperandTypeChecker STRING_STRING_DATETIME =
+ family(SqlTypeFamily.STRING, SqlTypeFamily.STRING,
SqlTypeFamily.DATETIME);
+
Review comment:
`STRING` or `CHARACTER` ? `STRING ` contains type name `BINARY` and
`VARBINARY`.
----------------------------------------------------------------
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