You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2008/12/11 02:40:44 UTC

[jira] Commented: (HIVE-158) table aliases dont work for sampled tables in joins

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

Zheng Shao commented on HIVE-158:
---------------------------------

Can you add a test case?


> table aliases dont work for sampled tables in joins
> ---------------------------------------------------
>
>                 Key: HIVE-158
>                 URL: https://issues.apache.org/jira/browse/HIVE-158
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.19.0
>            Reporter: Raghotham Murthy
>            Assignee: Raghotham Murthy
>             Fix For: 0.19.0
>
>         Attachments: hive-158.patch
>
>
> The following query:
> FROM table1 TABLESAMPLE (BUCKET 1 OUT OF 512 ON col1) a JOIN table2 b ON (a.j1 = b.j2)  SELECT  a.col1, a.j1, b.j2;
> results in the error:
> ERROR ql.Driver (SessionState.java:printError(263)) - FAILED: Error in semantic analysis: line 1:88 Invalid Table Alias a

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.