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

Remove highly unnecessary accumulators stringify methods

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.5.0
    • Component/s: Spark Core
    • Labels:
      None
    • Target Version/s:

      Description

      def stringifyPartialValue(partialValue: Any): String = "%s".format(partialValue)
      def stringifyValue(value: Any): String = "%s".format(value)
      

      These are only used in 1 place (DAGScheduler). The level of indirection actually makes the code harder to read without an editor. We should just inline them...

        Attachments

          Activity

            People

            • Assignee:
              huitseeker Fran├žois Garillot
              Reporter:
              andrewor14 Andrew Or
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: