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

LogicalRelation.newInstance should follow the semantics of MultiInstanceRelation

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

Details

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

    Description

      Currently LogicalRelation.newInstance() simply creates another LogicalRelation object with the same parameters. However, the newInstance() method inherited from MultiInstanceRelation should return a copy of unique expression ids. Current LogicalRelation.newInstance() causes failure when doing self-join.

      Attachments

        Activity

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

          People

            viirya L. C. Hsieh
            viirya L. C. Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment