julianhyde commented on a change in pull request #1811: [CALCITE-3789] Support 
validation of UNNEST multiple array columns like Presto
URL: https://github.com/apache/calcite/pull/1811#discussion_r404209413
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/sql/validate/SqlConformance.java
 ##########
 @@ -431,7 +438,22 @@
    * {@link SqlConformanceEnum#STRICT_2003},
    * {@link SqlConformanceEnum#ORACLE_10},
    * {@link SqlConformanceEnum#ORACLE_12};
+   * {@link SqlConformanceEnum#PRESTO};
    * true otherwise.
    */
   boolean allowQualifyingCommonColumn();
+
+  /**
+   * Whether directly alias array columns in UNNEST.
+   *
+   * <p>E.g. in UNNEST(a_array, b_array) AS T(a, b),
+   * a and b will be aliases of a_array and b_array
+   * respectively
 
 Review comment:
   What will be the behavior of that expression if `allowAliasUnnestColumns` is 
false?

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