NobiGo commented on code in PR #4462:
URL: https://github.com/apache/calcite/pull/4462#discussion_r2193697860


##########
core/src/main/java/org/apache/calcite/sql/validate/SqlConformance.java:
##########
@@ -662,4 +662,18 @@ enum SelectAliasLookup {
    * True when the unsigned versions of integer types are supported.
    */
   boolean supportsUnsignedTypes();
+
+  /**
+   * Whether to convert empty string to null..
+   *
+   * <p>Consider the {@code SUBSTRING} operator. SUBSTRING('abc', 0, 0) will
+   * return null in Oracle, and return an empty string in other databases
+   * like MySQL, PostgreSQL, SQL Server that support SUBSTRING function.
+   *
+   * <p>Among the built-in conformance levels, true in
+   * {@link SqlConformanceEnum#ORACLE_10},
+   * {@link SqlConformanceEnum#ORACLE_12};
+   * false otherwise.
+   */
+  boolean emptyStringIsNull();

Review Comment:
   Ok



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