hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1220) accept TBLPROPERTIES on CREATE TABLE/VIEW
Date Mon, 22 Mar 2010 19:49:27 GMT

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

John Sichi updated HIVE-1220:
-----------------------------

    Attachment: HIVE-1220.1.patch

Once this is committed, I will update wiki docs accordingly.

Notes for reviewers:

* Now TBLPROPERTIES can be specified for both tables and views, for both CREATE and ALTER.
* For some reason, Hive.g was using KW_PROPERTIES; I changed it to KW_TBLPROPERTIES to reduce
my own confusion.
* I had to get rid of one metastore-side validation since it didn't have enough context to
discriminate the different forms of ALTER.  I think in general it's probably difficult for
metastore to validate everything that ql can.


> accept TBLPROPERTIES on CREATE TABLE/VIEW
> -----------------------------------------
>
>                 Key: HIVE-1220
>                 URL: https://issues.apache.org/jira/browse/HIVE-1220
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1220.1.patch
>
>
> Currently, Hive only supports ALTER TABLE t SET TBLPROPERTIES, but does not allow specification
of table properties during CREATE TABLE.  We should allow properties to be set at the time
a table or view is created.  This is useful in general, and in particular we want to use this
so that storage handler properties (see HIVE-705) unrelated to serdes can be specified here
rather than in SERDEPROPERTIES.  See also HIVE-1144 regarding views.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message