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

Refactor non-stateful methods/values in CodegenContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • None
    • SQL
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: