korlov42 commented on code in PR #5119:
URL: https://github.com/apache/ignite-3/pull/5119#discussion_r1932004160


##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/commands/CatalogUtils.java:
##########
@@ -116,12 +116,17 @@ public class CatalogUtils {
     public static final int DEFAULT_LENGTH = 1;
 
     /**
-     * Max length for VARCHAR and VARBINARY is implementation defined.
+     * Default length for VARCHAR and VARBINARY is implementation defined.
      *
      * <p>SQL`16 part 2 section 6.1 syntax rule 8
      */
     public static final int DEFAULT_VARLEN_LENGTH = 2 << 15;
 
+    /**
+     * Max length for VARCHAR and VARBINARY types.
+     */
+    public static final int MAX_VARLEN_LENGTH = Integer.MAX_VALUE;

Review Comment:
   we have another JIRA to increase limits: 
https://issues.apache.org/jira/browse/IGNITE-24154. In this JIRA we need to add 
validation for DDL statements



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to