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

DDL needs to support DEFAULT operator

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.4
    • Component/s: sql
    • Labels:

      Description

      There should be a way to set a default value for a column/field if the one is not specified during an insert operation. In general, we need to support <field> DEFAULT <value> in a way it's show below:

      CREATE TABLE Persons (
        ID int,
        FirstName varchar(255),
        Age int,
        City varchar(255) DEFAULT 'Sandnes'
      );
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tledkov-gridgain Taras Ledkov
                Reporter:
                dmagda Denis Magda
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: