ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-5623) DDL needs to support DEFAULT operator
Date Thu, 29 Jun 2017 20:31:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Denis Magda updated IGNITE-5623:
--------------------------------
    Fix Version/s:     (was: 2.1)
                   2.2

> DDL needs to support DEFAULT operator 
> --------------------------------------
>
>                 Key: IGNITE-5623
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5623
>             Project: Ignite
>          Issue Type: Task
>    Affects Versions: 2.0
>            Reporter: Denis Magda
>            Assignee: Alexander Paschenko
>             Fix For: 2.2
>
>
> 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:
> {code}
> CREATE TABLE Persons (
>   ID int,
>   FirstName varchar(255),
>   Age int,
>   City varchar(255) DEFAULT 'Sandnes'
> );
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message