[ https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247891#comment-13247891 ]
Carl Steinbach commented on HIVE-2909: -------------------------------------- MySQL has a SHOW COLUMNS command: http://dev.mysql.com/doc/refman/5.0/en/show-columns.html Seems like we should follow convention and try to duplicate that instead of inventing our own behavior. Also, I think returning each column name in a separate row is much more convenient (and consistent) for clients than forcing them to tokenize the names by splitting on ',' > 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, > HIVE-2909.D2595.3.patch, HIVE-2909.D2595.4.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