xuzifu666 commented on code in PR #4419:
URL: https://github.com/apache/calcite/pull/4419#discussion_r2149772669


##########
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:
##########
@@ -2515,6 +2515,47 @@ private SqlDialect nonOrdinalDialect() {
         .withPostgresql().ok(expectedPostgresql);
   }
 
+  /** Test case for
+   * <a 
href="https://issues.apache.org/jira/browse/CALCITE-7056";>[CALCITE-7056]
+   * Convert RelNode to Sql failed when the RelNode includes quantify 
operators</a>.
+   */
+  @Test void testQuantifyOperatorsWithTypeCoercion() {
+    final String query = "SELECT timestamp '1970-01-01 01:23:45'"

Review Comment:
   It would be ok, and I had changed the case as JIRA description:
   ```
       final String query = "SELECT '1970-01-01 01:23:45'"
           + " = any (array[timestamp '1970-01-01 01:23:45',"
           + "timestamp '1970-01-01 01:23:46'])";
   ``` @NobiGo 



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

Reply via email to