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


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.

Reply via email to