[jira] [Commented] (HIVE-2863) Ambiguous table name or column reference message displays when table and column names are the same

2013-01-09 Thread Hudson (JIRA)

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

Hudson commented on HIVE-2863:
--

Integrated in Hive-trunk-hadoop2 #54 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
HIVE-2863 Ambiguous table name or column reference message displays when 
table and column
names are the same (Navis via namit) (Revision 1310126)

 Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1310126
Files : 
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java
* /hive/trunk/ql/src/test/queries/clientpositive/nomore_ambiguous_table_col.q
* /hive/trunk/ql/src/test/queries/negative/ambiguous_table_col.q
* 
/hive/trunk/ql/src/test/results/clientpositive/nomore_ambiguous_table_col.q.out
* /hive/trunk/ql/src/test/results/compiler/errors/ambiguous_table_col.q.out


> Ambiguous table name or column reference message displays when table and 
> column names are the same
> --
>
> Key: HIVE-2863
> URL: https://issues.apache.org/jira/browse/HIVE-2863
> Project: Hive
>  Issue Type: Bug
>Reporter: Mauro Cazzari
>Assignee: Navis
> Fix For: 0.9.0
>
> Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2863.D2361.1.patch
>
>
> Given the following table:
> CREATE TABLE `Y` (`y` DOUBLE) ROW FORMAT DELIMITED FIELDS TERMINATED BY 
> '\001' STORED AS TEXTFILE;
> The following query fails:
> SELECT  `Y`.`y`  FROM `Y`  WHERE  ( `y` = 1 )
> ERROR: java.sql.SQLException: Query returned non-zero code: 10, cause: 
> FAILED: Error in
>semantic analysis: Line 1:36 Ambiguous table alias or column reference 
> '`y`'
> ERROR: Unable to execute Hadoop query.
> ERROR: Prepare error. SQL statement: SELECT  `Y`.`y`  FROM `Y`  WHERE  ( `y` 
> = 1 ).
> The problem goes away if the table and column names do not match.

--
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-2863) Ambiguous table name or column reference message displays when table and column names are the same

2012-04-06 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HIVE-2863:
--

Integrated in Hive-trunk-h0.21 #1356 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1356/])
HIVE-2863 Ambiguous table name or column reference message displays when 
table and column
names are the same (Navis via namit) (Revision 1310126)

 Result = SUCCESS
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1310126
Files : 
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java
* /hive/trunk/ql/src/test/queries/clientpositive/nomore_ambiguous_table_col.q
* /hive/trunk/ql/src/test/queries/negative/ambiguous_table_col.q
* 
/hive/trunk/ql/src/test/results/clientpositive/nomore_ambiguous_table_col.q.out
* /hive/trunk/ql/src/test/results/compiler/errors/ambiguous_table_col.q.out


> Ambiguous table name or column reference message displays when table and 
> column names are the same
> --
>
> Key: HIVE-2863
> URL: https://issues.apache.org/jira/browse/HIVE-2863
> Project: Hive
>  Issue Type: Bug
>Reporter: Mauro Cazzari
>Assignee: Navis
> Attachments: HIVE-2863.D2361.1.patch
>
>
> Given the following table:
> CREATE TABLE `Y` (`y` DOUBLE) ROW FORMAT DELIMITED FIELDS TERMINATED BY 
> '\001' STORED AS TEXTFILE;
> The following query fails:
> SELECT  `Y`.`y`  FROM `Y`  WHERE  ( `y` = 1 )
> ERROR: java.sql.SQLException: Query returned non-zero code: 10, cause: 
> FAILED: Error in
>semantic analysis: Line 1:36 Ambiguous table alias or column reference 
> '`y`'
> ERROR: Unable to execute Hadoop query.
> ERROR: Prepare error. SQL statement: SELECT  `Y`.`y`  FROM `Y`  WHERE  ( `y` 
> = 1 ).
> The problem goes away if the table and column names do not match.

--
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-2863) Ambiguous table name or column reference message displays when table and column names are the same

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

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

Phabricator commented on HIVE-2863:
---

njain has accepted the revision "HIVE-2863 [jira] Ambiguous table name or 
column reference message displays when table and column names are the same".

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

BRANCH
  DPAL-975


> Ambiguous table name or column reference message displays when table and 
> column names are the same
> --
>
> Key: HIVE-2863
> URL: https://issues.apache.org/jira/browse/HIVE-2863
> Project: Hive
>  Issue Type: Bug
>Reporter: Mauro Cazzari
>Assignee: Navis
> Attachments: HIVE-2863.D2361.1.patch
>
>
> Given the following table:
> CREATE TABLE `Y` (`y` DOUBLE) ROW FORMAT DELIMITED FIELDS TERMINATED BY 
> '\001' STORED AS TEXTFILE;
> The following query fails:
> SELECT  `Y`.`y`  FROM `Y`  WHERE  ( `y` = 1 )
> ERROR: java.sql.SQLException: Query returned non-zero code: 10, cause: 
> FAILED: Error in
>semantic analysis: Line 1:36 Ambiguous table alias or column reference 
> '`y`'
> ERROR: Unable to execute Hadoop query.
> ERROR: Prepare error. SQL statement: SELECT  `Y`.`y`  FROM `Y`  WHERE  ( `y` 
> = 1 ).
> The problem goes away if the table and column names do not match.

--
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