Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.20.0
    • 1.21.0
    • core

    Description

      This is the grammar copied from SQL-2011:

      <row type> ::=
        ROW <row type body>
      <row type body> ::=
        <left paren> <field definition> [ { <comma> <field definition> }... ] <right paren>
      
      <field definition> ::=
        <field name> <data type>
      

      We extend the grammar for every field data type to have an optional suffix:

      <field definition> ::=
        <field name> <data type> [ [ NULL | NOT NULL] ]
      

      The suffix is used to indicate if this field is nullable; To keep sync with other data types, the default is not nullable.

      Attachments

        Issue Links

          Activity

            People

              danny0405 Danny Chen
              danny0405 Danny Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 20m
                  20m