[ https://issues.apache.org/jira/browse/HIVE-18726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366445#comment-16366445 ]
Vineet Garg commented on HIVE-18726: ------------------------------------ Attached is initial patch which adds support for DEFAULT constraint for DDL statements (CREATE TABLE, ALTER etc.) This patch has yet to implement the following: * Metastore schema changes for all databases beside DERBY. * Planner changes to change the plan to insert DEFAULT * Type checking to make sure DEFAULT expression/value type is compatible with the column values. * More tests > 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 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)