hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Gergely (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-22526) Extract Compiler from Driver
Date Sun, 24 Nov 2019 23:19:00 GMT

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

Miklos Gergely updated HIVE-22526:
----------------------------------
    Attachment:     (was: HIVE-22526.05.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, HIVE-22526.04.patch,
HIVE-22526.05.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)

Mime
View raw message