[
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.2.patch
dikanggu updated the revision "HIVE-2909 [jira] SHOW COLUMNS table_name; to
provide a comma-delimited list of columns.".
Reviewers: JIRA, njain
fix the unit tests
ant test -Dtestcase=TestCliDriver -Dqfile=show_columns.q -Doverwrite=true
-Dtest.silent=false
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/parse/SemanticAnalyzerFactory.java
ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java
ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java
ql/src/java/org/apache/hadoop/hive/ql/plan/ShowColumnsDesc.java
ql/src/test/queries/clientpositive/show_columns.q
ql/src/test/results/clientpositive/show_columns.q.out
> 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, HIVE-2909.D2595.2.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