LuciferYang opened a new pull request #29689: URL: https://github.com/apache/spark/pull/29689
### What changes were proposed in this pull request? `--` method of `AttributeSet` behave differently under Scala 2.12 and 2.13 because `--` method of `LinkedHashSet` in Scala 2.13 can't maintains the insertion order. This pr use a Scala 2.12 based code to ensure `--` method of AttributeSet have same behavior under Scala 2.12 and 2.13. ### Why are the changes needed? The behavior of `AttributeSet` needs to be compatible with Scala 2.12 and 2.13 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Scala 2.12: Pass the Jenkins or GitHub Action ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org