Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Column default constraint #2048

Open
wangyum opened this issue Nov 19, 2019 · 0 comments
Open

Implement Column default constraint #2048

wangyum opened this issue Nov 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@wangyum
Copy link

wangyum commented Nov 19, 2019

DEFAULT clause is a domain constraint which lets user specify a value for domain i.e. column to be used in absence of user specified value i.e. in absence of column reference.
It is an ANSI SQL, Feature ID: E141-07.

CREATE TABLE [ IF NOT EXISTS ]
table_name (
  { column_name data_type [DEFAULT <default option>] [ COMMENT comment ] [ WITH ( property_name = expression [, ...] ) ]
  | LIKE existing_table_name [ { INCLUDING | EXCLUDING } PROPERTIES ] }
  [, ...]
)
[ COMMENT table_comment ]
[ WITH ( property_name = expression [, ...] ) ]

https://issues.apache.org/jira/browse/HIVE-18726

@findepi findepi added the enhancement New feature or request label Nov 19, 2019
@findepi findepi mentioned this issue Nov 19, 2019
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants