mixed case tablename on lefthand side of LATERAL VIEW results in query failing 
with confusing error message
-----------------------------------------------------------------------------------------------------------

                 Key: HIVE-1857
                 URL: https://issues.apache.org/jira/browse/HIVE-1857
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.6.0
            Reporter: John Sichi
            Assignee: John Sichi
             Fix For: 0.7.0
         Attachments: HIVE-1857.1.patch

For the modified query below in lateral_view.q, the exception 
"org.apache.hadoop.hive.ql.parse.SemanticException: line 3:7 Invalid Table 
Alias or Column Reference myCol" is thrown.  The query should succeed.

SELECT myCol from tmp_PYANG_lv LATERAL VIEW explode(array(1,2,3)) myTab as 
myCol limit 3;


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