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

Avoid mutating ExprCode in doGenCode

    Details

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

      Description

      The `doGenCode` method currently takes in an ExprCode, mutates it and returns the java code to evaluate the given expression. It should instead just return a new ExprCode to avoid passing around mutable objects.

        Issue Links

          Activity

          Hide
          apachespark Apache Spark added a comment -

          User 'sameeragarwal' has created a pull request for this issue:
          https://github.com/apache/spark/pull/12483

          Show
          apachespark Apache Spark added a comment - User 'sameeragarwal' has created a pull request for this issue: https://github.com/apache/spark/pull/12483

            People

            • Assignee:
              sameerag Sameer Agarwal
              Reporter:
              sameerag Sameer Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development