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

Break up DDLSemanticAnalyzer - extract Function related 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 #2: extract all the functin related analyzers from DDLSemanticAnalyzer and FunctionSemanticAnalyzer and MacroSemanticAnalyzer, and move them under the new package.

      Attachments

        1. HIVE-22179.02.patch
          82 kB
          Miklos Gergely
        2. HIVE-22179.01.patch
          83 kB
          Miklos Gergely

        Issue Links

          Activity

            People

              mgergely Miklos Gergely
              mgergely Miklos Gergely
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1.5h
                  1.5h