[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2013-01-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13548062#comment-13548062
 ] 

Hudson commented on HIVE-2909:
--

Integrated in Hive-trunk-hadoop2 #54 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
HIVE-2909. SHOW COLUMNS table_name; to provide a comma-delimited list of 
columns. (njain via kevinwilfong) (Revision 1365222)

 Result = ABORTED
kevinwilfong : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1365222
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ShowColumnsDesc.java
* /hive/trunk/ql/src/test/queries/clientnegative/show_columns1.q
* /hive/trunk/ql/src/test/queries/clientnegative/show_columns2.q
* /hive/trunk/ql/src/test/queries/clientnegative/show_columns3.q
* /hive/trunk/ql/src/test/queries/clientpositive/show_columns.q
* /hive/trunk/ql/src/test/results/clientnegative/show_columns1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_columns2.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_columns3.q.out
* /hive/trunk/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: Namit Jain
Priority: Minor
 Fix For: 0.10.0

 Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2909.D2595.1.patch, 
 ASF.LICENSE.NOT.GRANTED--HIVE-2909.D2595.2.patch, 
 ASF.LICENSE.NOT.GRANTED--HIVE-2909.D2595.3.patch, 
 ASF.LICENSE.NOT.GRANTED--HIVE-2909.D2595.4.patch, 
 ASF.LICENSE.NOT.GRANTED--HIVE-2909.D2595.5.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
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-07-24 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13421898#comment-13421898
 ] 

Hudson commented on HIVE-2909:
--

Integrated in Hive-trunk-h0.21 #1565 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1565/])
HIVE-2909. SHOW COLUMNS table_name; to provide a comma-delimited list of 
columns. (njain via kevinwilfong) (Revision 1365222)

 Result = SUCCESS
kevinwilfong : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1365222
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ShowColumnsDesc.java
* /hive/trunk/ql/src/test/queries/clientnegative/show_columns1.q
* /hive/trunk/ql/src/test/queries/clientnegative/show_columns2.q
* /hive/trunk/ql/src/test/queries/clientnegative/show_columns3.q
* /hive/trunk/ql/src/test/queries/clientpositive/show_columns.q
* /hive/trunk/ql/src/test/results/clientnegative/show_columns1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_columns2.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_columns3.q.out
* /hive/trunk/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: Namit Jain
Priority: Minor
 Fix For: 0.10.0

 Attachments: HIVE-2909.D2595.1.patch, HIVE-2909.D2595.2.patch, 
 HIVE-2909.D2595.3.patch, HIVE-2909.D2595.4.patch, HIVE-2909.D2595.5.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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-07-23 Thread Kevin Wilfong (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13421003#comment-13421003
 ] 

Kevin Wilfong commented on HIVE-2909:
-

It looks like you've responded to all of Carl's comments except for the one 
regarding the partition column.  Given that this goes against the original 
spirit of the JIRA, which appeared to be getting a simple list of columns, and 
that Carl hasn't yet commented against this change, I think it's ok.

+1 running tests

 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: Namit Jain
Priority: Minor
 Attachments: HIVE-2909.D2595.1.patch, HIVE-2909.D2595.2.patch, 
 HIVE-2909.D2595.3.patch, HIVE-2909.D2595.4.patch, HIVE-2909.D2595.5.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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-07-13 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13413561#comment-13413561
 ] 

Namit Jain commented on HIVE-2909:
--

Incorporated all the comments other than the output of show columns.
Mysql output is very close to describe.

Here, the goal is just to get the names of the columns.

 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: Namit Jain
Priority: Minor
 Attachments: HIVE-2909.D2595.1.patch, HIVE-2909.D2595.2.patch, 
 HIVE-2909.D2595.3.patch, HIVE-2909.D2595.4.patch, HIVE-2909.D2595.5.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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-07-12 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13413478#comment-13413478
 ] 

Namit Jain commented on HIVE-2909:
--

@Carl, can you review https://reviews.facebook.net/D4101 ?
Most of the comments should be addressed. I can address the remaining ones.

 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: Namit Jain
Priority: Minor
 Attachments: HIVE-2909.D2595.1.patch, HIVE-2909.D2595.2.patch, 
 HIVE-2909.D2595.3.patch, HIVE-2909.D2595.4.patch, HIVE-2909.D2595.5.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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-07-11 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13412532#comment-13412532
 ] 

Namit Jain commented on HIVE-2909:
--

https://reviews.facebook.net/D4101


Added more tests, moved the errors to compile time

 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, HIVE-2909.D2595.5.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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-04-05 Thread Phabricator (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13247679#comment-13247679
 ] 

Phabricator commented on HIVE-2909:
---

njain has commented on the revision HIVE-2909 [jira] SHOW COLUMNS table_name; 
to provide a comma-delimited list of columns..

INLINE COMMENTS
  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java:2037 dont sort the 
columns.

  Use the same order as used by describeTable

REVISION DETAIL
  https://reviews.facebook.net/D2595


 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


 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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-04-05 Thread Phabricator (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13247771#comment-13247771
 ] 

Phabricator commented on HIVE-2909:
---

njain has commented on the revision HIVE-2909 [jira] SHOW COLUMNS table_name; 
to provide a comma-delimited list of columns..

INLINE COMMENTS
  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java:2039 for partitioned 
tables, all partitioned columns also
   cols.addAll(tbl.getPartCols());


REVISION DETAIL
  https://reviews.facebook.net/D2595


 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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-04-05 Thread Carl Steinbach (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-04-04 Thread Phabricator (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13246738#comment-13246738
 ] 

Phabricator commented on HIVE-2909:
---

njain has commented on the revision HIVE-2909 [jira] SHOW COLUMNS table_name; 
to provide a comma-delimited list of columns..

  You need to add the table as the input for inputs.

  I mean, if you are performing:

  show columns FOO;

  FOO should appear in the inputs

INLINE COMMENTS
  ql/src/test/queries/clientpositive/show_columns.q:4 add SHOW COLUMNS 
shcols_test also

REVISION DETAIL
  https://reviews.facebook.net/D2595


 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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-04-03 Thread Phabricator (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13245944#comment-13245944
 ] 

Phabricator commented on HIVE-2909:
---

dikanggu has commented on the revision HIVE-2909 [jira] SHOW COLUMNS 
table_name; to provide a comma-delimited list of columns..

  There are something wrong with the unit test, and I'm still working it.


REVISION DETAIL
  https://reviews.facebook.net/D2595


 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




[jira] [Commented] (HIVE-2909) SHOW COLUMNS table_name; to provide a comma-delimited list of columns.

2012-03-30 Thread Namit Jain (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13242575#comment-13242575
 ] 

Namit Jain commented on HIVE-2909:
--

https://cwiki.apache.org/Hive/phabricatorcodereview.html


 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

 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