lameyer 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_r314455871
 
 

 ##########
 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:
   it _looks_ like Redshift doesn't have binary, so I'll change to character 👍 

----------------------------------------------------------------
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