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

Avoid using map instead of foreach to avoid potential side effect at callers of OrcUtils.readCatalystSchema

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.1, 3.1.0
    • 3.0.2, 3.1.0
    • SQL
    • None

    Description

      This is a kind of a followup of SPARK-32646. New JIRA was filed to control the fixed versions properly.

      When you use map, it might be lazily evaluated and not executed. To avoid this, we should better use foreach.

      See also SPARK-16694

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: