xuzifu666 commented on code in PR #5065:
URL: https://github.com/apache/calcite/pull/5065#discussion_r3503834080
##########
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:
##########
@@ -2998,14 +2998,26 @@ private SqlDialect nonOrdinalDialect() {
* SqlItemOperator fails in RelToSqlConverter</a>. */
@Test void testSqlItemOperator() {
sql("SELECT foo[0].\"EXPR$1\" FROM (SELECT ARRAY[ROW('a', 'b')] AS foo)")
- .ok("SELECT \"ARRAY[ROW('a', 'b')][0]\".\"EXPR$1\"\n"
Review Comment:
SQL statements like this will cause an error in PostgreSQL, we can the last
sql in https://onecompiler.com/postgresql/44tvwz86e
--
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]