hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Wong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-967) Implement "show create table"
Date Tue, 11 Sep 2012 21:38:09 GMT

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

Steven Wong commented on HIVE-967:
----------------------------------

I'm having trouble with Fabricator login, so here's my comment on a piece of the code:

bq. {code}String createTab_stmt = "CREATE VIEW " + tableName + " AS " + tbl.getViewOriginalText();{code}
Shouldn't getViewExpandedText be used instead? Because views are supposed to be "frozen at
the time the view is created." 

                
> Implement "show create table"
> -----------------------------
>
>                 Key: HIVE-967
>                 URL: https://issues.apache.org/jira/browse/HIVE-967
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore, Query Processor
>            Reporter: Adam Kramer
>            Assignee: Feng Lu
>         Attachments: HIVE-967.2.patch.txt, HIVE-967.3.patch.txt, HIVE-967.4.patch.txt,
HIVE-967.5.patch.txt, HIVE-967.patch.txt, HiveShowCreateTable.jar, show_create.txt
>
>
> SHOW CREATE TABLE would be very useful in cases where you are trying to figure out the
partitioning and/or bucketing scheme for a table. Perhaps this could be implemented by having
new tables automatically SET PROPERTIES (create_command='raw text of the create statement')?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message