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

Nested column pruning should filter out attributes that do not belong to the current relation

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.1.3, 3.0.4, 3.3.0, 3.4.0
    • SQL
    • None

    Description

      `SchemaPruning` currently does not check if the root field of a nested column belongs to the current relation. This can happen when the filter contains correlated subqueries, where the children field can contain attributes from both the inner and the outer query.

      Attachments

        Activity

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

          People

            allisonwang-db Allison Wang
            allisonwang-db Allison Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment