You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2018/02/23 21:51:00 UTC

[jira] [Comment Edited] (HIVE-18726) Implement DEFAULT constraint

    [ https://issues.apache.org/jira/browse/HIVE-18726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375000#comment-16375000 ] 

Vineet Garg edited comment on HIVE-18726 at 2/23/18 9:50 PM:
-------------------------------------------------------------

Patch(3) adds the following:
* Metastore changes for all databases
* Type checking to make sure default values type is valid
*  Disallow constraints on external table and on partition columns (not null and default)
*  Restrict constraint name, default value to be less 255 char
*  Throw an error if trying to create constraint with existing name.
*  More tests (including negative)


was (Author: vgarg):
Patch(3) adds the following:
* Metastore changes for all databases
* Type checking to make sure default value's type is valid
*  Disallow constraints on external table and on partition columns (not null and default)
*  Restrict constraint name, default value to be less 255 char
*  Throw an error if trying to create constraint with existing name.
*  More tests (including negative)

> Implement DEFAULT constraint
> ----------------------------
>
>                 Key: HIVE-18726
>                 URL: https://issues.apache.org/jira/browse/HIVE-18726
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Planning, Query Processor
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18726.1.patch, HIVE-18726.2.patch, HIVE-18726.3.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)