danny0405 commented on a change in pull request #1568: [CALCITE-3486] In JDBC 
adapter, when generating ROW value expression, generates the ROW keyword only 
if the dialect allows it (quxiucheng)
URL: https://github.com/apache/calcite/pull/1568#discussion_r344531048
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/sql/dialect/MysqlSqlDialect.java
 ##########
 @@ -179,6 +179,9 @@ public boolean supportsAliasedValues() {
 
       unparseFloor(writer, call);
       break;
+    case ROW:
+      unparseRow(writer, call);
 
 Review comment:
   What do you mean by "can not get method correctly", for MySQL, the 
conformance is `SqlConformanceEnum.MYSQL_5` which i think is correct.
   
   [1] 
https://github.com/apache/calcite/blob/4d1c3e54fc4172c7ff00db3326823c42f237cf04/core/src/main/java/org/apache/calcite/sql/SqlDialect.java#L1092
   

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

Reply via email to