You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2011/02/08 22:34:57 UTC
[jira] Updated: (HIVE-1973) Getting error when join on tables where
name of table has uppercase letters
[ https://issues.apache.org/jira/browse/HIVE-1973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-1973:
---------------------------------
Affects Version/s: 0.7.0
Verified that this fails on trunk:
{code}
hive> select * from a join tabForJoin on (a.b = tabForJoin.b);
select * from a join tabForJoin on (a.b = tabForJoin.b);
FAILED: Error in semantic analysis: line 1:42 Invalid Table Alias tabForJoin
hive> select * from a join tabforjoin on (a.b = tabForJoin.b);
OK
Time taken: 5.618 seconds
hive>
{code}
> Getting error when join on tables where name of table has uppercase letters
> ---------------------------------------------------------------------------
>
> Key: HIVE-1973
> URL: https://issues.apache.org/jira/browse/HIVE-1973
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.5.0, 0.7.0
> Environment: Hadoop 0.20.1, Hive0.5.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
> Reporter: Chinna Rao Lalam
> Assignee: Chinna Rao Lalam
>
> When execute a join query on tables containing Uppercase letters in the table names hit an exception
> Ex:
> {noformat}
> create table a(b int);
> create table tabForJoin(b int,c int);
> select * from a join tabForJoin on(a.b=tabForJoin.b);
> Got an exception like this
> FAILED: Error in semantic analysis: Invalid Table Alias tabForJoin
> {noformat}
> But if i give without capital letters ,It is working
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira