You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Iurii Gerzhedovich (Jira)" <ji...@apache.org> on 2024/04/26 09:54:00 UTC

[jira] [Created] (IGNITE-22120) Sql. Possibility set zero length for CHAR type

Iurii Gerzhedovich created IGNITE-22120:
-------------------------------------------

             Summary: Sql. Possibility set zero length for CHAR type
                 Key: IGNITE-22120
                 URL: https://issues.apache.org/jira/browse/IGNITE-22120
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Iurii Gerzhedovich


Syntax Rules of paragraph 6.1 of Sql Standard says: The value of a <length> shall be greater than 0 (zero).

However, we can set zero length for CHAR type

{code:java}
CREATE TABLE t_zero(c1 CHAR(0)); -- no error{code}

Require to fix it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)