Revision f96fc06ca4a5a1bbc154aca1c7a9b96e7fc42c7e authored by Peter Toth on 17 August 2022, 06:57:35 UTC, committed by Wenchen Fan on 17 August 2022, 06:58:18 UTC
### What changes were proposed in this pull request?
Do not exclude `Union`'s first child attributes when traversing other children in `RemoveRedundantAliases`.

### Why are the changes needed?
We don't need to exclude those attributes that `Union` inherits from its first child. See discussion here: https://github.com/apache/spark/pull/37496#discussion_r944509115

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Existing UTs.

Closes #37534 from peter-toth/SPARK-39887-keep-attributes-of-unions-first-child-follow-up.

Authored-by: Peter Toth <ptoth@cloudera.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit e732232dac420826af269d8cf5efacb52933f59a)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
1 parent 6ec86e5
History

README.md

back to top