Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23546

Refactor non-stateful methods/values in CodegenContext

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

      Current CodegenContext class has immutable value or method without mutable state, too.
      This refactoring moves them to CodeGenerator object class which can be accessed from anywhere without an instantiated CodegenContext in the program.

        Attachments

          Activity

            People

            • Assignee:
              kiszk Kazuaki Ishizaki
              Reporter:
              kiszk Kazuaki Ishizaki
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: