Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21919 Refactor Driver
  3. HIVE-22526

Extract Compiler from Driver

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Hive
    • Labels:
      None

      Description

      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.

        Attachments

        1. HIVE-22526.09.patch
          81 kB
          Miklos Gergely
        2. HIVE-22526.08.patch
          81 kB
          Miklos Gergely
        3. HIVE-22526.07.patch
          81 kB
          Miklos Gergely
        4. HIVE-22526.06.patch
          82 kB
          Miklos Gergely
        5. HIVE-22526.05.patch
          63 kB
          Miklos Gergely
        6. HIVE-22526.04.patch
          63 kB
          Miklos Gergely
        7. HIVE-22526.03.patch
          63 kB
          Miklos Gergely
        8. HIVE-22526.02.patch
          63 kB
          Miklos Gergely
        9. HIVE-22526.01.patch
          63 kB
          Miklos Gergely

          Issue Links

            Activity

              People

              • Assignee:
                mgergely Miklos Gergely
                Reporter:
                mgergely Miklos Gergely
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: