hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Garg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-18857) Store default value text instead of default value expression in metastore
Date Fri, 06 Apr 2018 20:32:00 GMT

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

Vineet Garg updated HIVE-18857:
-------------------------------
    Fix Version/s: 3.0.0

> Store default value text instead of default value expression in metastore
> -------------------------------------------------------------------------
>
>                 Key: HIVE-18857
>                 URL: https://issues.apache.org/jira/browse/HIVE-18857
>             Project: Hive
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18857.1.patch
>
>
> Currently for default value an expression is generated and serialized to store in metastore.
It should be improved to rather serialize the default value itself instead of expression and
store that in metastore. This will have the following benefits:
> * It will make metastore schema upgrade safe. e.g. if a UDF function name is changed
hive wouldn't be able to parse back the expression for this UDF which was serialized in earlier
version.
> *  It will make metastore schema for default constraint hive agnostic. Other databases
would be able to use the value as it is.



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

Mime
View raw message