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

LogicalRelation.newInstance should follow the semantics of MultiInstanceRelation

    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

          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: