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

DDL needs to support DEFAULT operator

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.4
    • sql

    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

              tledkov-gridgain Taras Ledkov
              dmagda Denis A. Magda
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: