[ 
https://issues.apache.org/jira/browse/HIVE-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiruvel Thirumoolan updated HIVE-2439:
---------------------------------------

    Attachment: HIVE-2439_branch9_2.patch

Couple of tests fail due the same cause in TestCliDriver, weird error messages. 
Both of them are related to views. TestHiveServerSessions fail for me with or 
without the change, havent looked deeper as its unrelated. All others seem to 
pass.

Exception for join_view.q:

...
create view v as select invites.bar, invites2.foo, invites2.ds from invites
join invites2 on invites.ds=invites2.ds
...
2012-12-04 10:59:19,647 DEBUG parse.SemanticAnalyzer
(SemanticAnalyzer.java:genPlan(6766)) - Created Plan for Query Block null
2012-12-04 10:59:19,648 ERROR ql.Driver (SessionState.java:printError(400)) -
FAILED: Hive Internal Error: java.lang.IllegalArgumentException(replace op
boundaries of
<ReplaceOp@[@41,138:139='ds',<24>,5:101]..[@41,138:139='ds',<24>,5:101]:"`ds`">
overlap with previous
<ReplaceOp@[@39,130:136='invites',<24>,5:93]..[@41,138:139='ds',<24>,5:101]:"`invites`.`ds`">)
java.lang.IllegalArgumentException: replace op boundaries of
<ReplaceOp@[@41,138:139='ds',<24>,5:101]..[@41,138:139='ds',<24>,5:101]:"`ds`">
overlap with previous
<ReplaceOp@[@39,130:136='invites',<24>,5:93]..[@41,138:139='ds',<24>,5:101]:"`invites`.`ds`">
        at
org.antlr.runtime.TokenRewriteStream.reduceToSingleOperationPerIndex(TokenRewriteStream.java:504)
        at
org.antlr.runtime.TokenRewriteStream.toString(TokenRewriteStream.java:374)
        at
org.antlr.runtime.TokenRewriteStream.toString(TokenRewriteStream.java:358)
        at
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.saveViewDefinition(SemanticAnalyzer.java:7602)
                
> Upgrade antlr version to 3.4
> ----------------------------
>
>                 Key: HIVE-2439
>                 URL: https://issues.apache.org/jira/browse/HIVE-2439
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Ashutosh Chauhan
>         Attachments: HIVE-2439_branch9_2.patch, HIVE-2439_branch9.patch, 
> hive-2439_incomplete.patch
>
>
> Upgrade antlr version to 3.4

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

Reply via email to