[ 
https://issues.apache.org/jira/browse/HCATALOG-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558536#comment-13558536
 ] 

Thejas M Nair commented on HCATALOG-384:
----------------------------------------

This shows up as a "SemanticException Operation not supported" error in hcat 
commands.
                
> hcat semantic analysis check can break if the compile time hive jar and one 
> in the installation are different 
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: HCATALOG-384
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-384
>             Project: HCatalog
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Thejas M Nair
>
> HCatSemanticAnalyzer has a switch-case block which uses HiveParser.* tokens. 
> These are 'static final int' which get replaced by the actual int values at 
> compile time. If the run time hive jar is different (different antlr or jvm 
> or changes to hive grammar ), then the token values can be different and this 
> will break HCatSemanticAnalyzer.
> We need to change HCatSemanticAnalyzer to use the runtime values of the 
> tokens. It should be possible to use reflection to check the run time value 
> for these tokens.

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