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

Always Identical Name for UDF in the EXPLAIN output

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1, 2.2.0
    • SQL
    • None

    Description

          sql("SELECT udf1(udf2(42))").explain()
      
      == Physical Plan ==
      *Project [UDF(UDF(42)) AS UDF(UDF(42))#7]
      +- Scan OneRowRelation[]
      

      Although udf1 and udf2 are different UDF, but the name in the plans are the same. It looks confusing.

      Attachments

        Activity

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

          People

            maropu Takeshi Yamamuro
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment