Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22191

Simplify SemanticAnalyzer by removing unused code

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • CBO, Hive
    • None

    Description

      Simplify SemanticAnalyzer by:

      • Remove dead code
      • Simplify returning statements
      • Use interfaces types for parameters/fields/variables where it is straightforward to migrate
      • Make visibility stricter where it is possible
      • Check logging to use parametrised logging
      • Removing unnecessary keywords (e.g.: static)
      • Some code part could be simplified by using Java 8 features

      I think this is crucial step as this class already contains 15000+ lines of code which is screaming for splitting into more reasonable classes.

      Attachments

        1. HIVE-22191.5.patch
          123 kB
          Akos Dombi
        2. HIVE-22191.5.patch
          123 kB
          Akos Dombi
        3. HIVE-22191.4.patch
          123 kB
          Akos Dombi
        4. HIVE-22191.3.patch
          138 kB
          Akos Dombi
        5. HIVE-22191.2.patch
          138 kB
          Akos Dombi
        6. HIVE-22191.patch
          138 kB
          Akos Dombi

        Activity

          People

            adombi Akos Dombi
            adombi Akos Dombi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: