[
https://issues.apache.org/jira/browse/HIVE-22526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Miklos Gergely updated HIVE-22526:
----------------------------------
Attachment: HIVE-22526.03.patch
> Extract Compiler from Driver
> ----------------------------
>
> Key: HIVE-22526
> URL: https://issues.apache.org/jira/browse/HIVE-22526
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Reporter: Miklos Gergely
> Assignee: Miklos Gergely
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-22526.01.patch, HIVE-22526.02.patch,
> HIVE-22526.03.patch
>
>
> The Driver class contains ~600 lines of code responsible for compiling the
> command. That means that from the command String a Plan needs to be created,
> and also a transaction needs to be started (in most of the cases). This is a
> thing done by the compile function, which has a lot of sub functions to help
> this task, while itself is also really big. All these codes should be put
> into a separate class, where it can do it's job without getting mixed with
> the other codes in the Driver.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)