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

Eval methods of Concat, Reverse and ElementAt should use pattern matching only once

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0, 3.0.0
    • 2.4.0
    • SQL
    • None

    Description

      Pattern matching is utilized for each call of Concat.eval, Reverse.nullSafeEval and ElementAt.nullSafeEval and thus for each record of a dataset. This could lead to a performance penalty when expression are executed in the interpreted mode. The goal of this ticket is to reduce usage of pattern matching within the mentioned "eval" methods.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mn-mikke Marek Novotny
            mn-mikke Marek Novotny
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment