Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21346 Refactor Hive DDL
  3. HIVE-22747

Break up DDLSemanticAnalyzer - extract Table info and lock analyzers

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      DDLSemanticAnalyzer is a huge class, more than 4000 lines long. The goal is to refactor it in order to have everything cut into more handleable classes under the packageĀ  org.apache.hadoop.hive.ql.exec.ddl:

      • have a separate class for each analyzers
      • have a package for each operation, containing an analyzer, a description, and an operation, so the amount of classes under a package is more manageable

      Step #13: extract the table info and lock related analyzers from DDLSemanticAnalyzer, and move them under the new package.

      Attachments

        1. HIVE-22747.01.patch
          125 kB
          Miklos Gergely
        2. HIVE-22747.02.patch
          125 kB
          Miklos Gergely
        3. HIVE-22747.03.patch
          123 kB
          Miklos Gergely
        4. HIVE-22747.04.patch
          115 kB
          Miklos Gergely

        Issue Links

          Activity

            People

              mgergely Miklos Gergely
              mgergely Miklos Gergely
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m