Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22120

Sql. Possibility set zero length for character string type

    XMLWordPrintableJSON

Details

    • Docs Required, Release Notes Required

    Description

      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

      CREATE TABLE t_zero(c1 CHAR(0), c2 VARCHAR(0)); -- no error

      Require to fix it.

      Attachments

        Issue Links

          Activity

            People

              mzhuravkov Maksim Zhuravkov
              jooger Iurii Gerzhedovich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m