Miklos Gergely created HIVE-22188:
-------------------------------------

             Summary: Clean up the SemanticAnalyzerFactory
                 Key: HIVE-22188
                 URL: https://issues.apache.org/jira/browse/HIVE-22188
             Project: Hive
          Issue Type: Sub-task
          Components: Hive
            Reporter: Miklos Gergely
            Assignee: Miklos Gergely
             Fix For: 4.0.0


SemanticAnalyzerFactory contains some huge maps that assign tokentypes to hive 
operations. Some operations share a token type for doing them on a table, or on 
a partition, which leads to some more overcomplication.

Two things need to be done:
 # Each operation must have it's own token.
 # The HiveOperation enum constants themselves must declare which token they 
are related to, and not some external source should declare information about 
them.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to