You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (Updated) (JIRA)" <ji...@apache.org> on 2012/04/04 00:46:24 UTC
[jira] [Updated] (HIVE-2909) SHOW COLUMNS table_name; to provide a
comma-delimited list of columns.
[ https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2909:
------------------------------
Attachment: HIVE-2909.D2595.1.patch
dikanggu requested code review of "HIVE-2909 [jira] SHOW COLUMNS table_name; to provide a comma-delimited list of columns.".
Reviewers: JIRA
add the show columns in hive cli
Due to the way that SELECT * and partitioning works, it is frequently obnoxious to insert data into tables of the same schema.
This could be fixed in a number of ways, all murky; this feature request reduces the obnoxicity of the current situation.
SHOW COLUMNS foo;
OK
bar, baz, tball, ds
...then I could just copy the first three and not the last.
TEST PLAN
unit test, show_columns.q
REVISION DETAIL
https://reviews.facebook.net/D2595
AFFECTED FILES
ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g
ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java
ql/src/java/org/apache/hadoop/hive/ql/plan/ShowColumnsDesc.java
ql/src/test/queries/clientpositive/show_columns.q
MANAGE HERALD DIFFERENTIAL RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/5919/
Tip: use the X-Herald-Rules header to filter Herald messages in your client.
> SHOW COLUMNS table_name; to provide a comma-delimited list of columns.
> ----------------------------------------------------------------------
>
> Key: HIVE-2909
> URL: https://issues.apache.org/jira/browse/HIVE-2909
> Project: Hive
> Issue Type: New Feature
> Reporter: Adam Kramer
> Assignee: Dikang Gu
> Priority: Minor
> Attachments: HIVE-2909.D2595.1.patch
>
>
> Due to the way that SELECT * and partitioning works, it is frequently obnoxious to insert data into tables of the same schema.
> This could be fixed in a number of ways, all murky; this feature request reduces the obnoxicity of the current situation.
> SHOW COLUMNS foo;
> OK
> bar, baz, tball, ds
> ...then I could just copy the first three and not the last.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira