nchammas opened a new pull request, #45296: URL: https://github.com/apache/spark/pull/45296
### What changes were proposed in this pull request? This is a backport of fcc5dbc9b6c8a8e16dc2e0854f3eebc8758a5826 / https://github.com/apache/spark/pull/45036 with a tweak so that it works on Scala 2.12. ### Why are the changes needed? This is a correctness bug fix. ### Does this PR introduce _any_ user-facing change? Yes. ### How was this patch tested? CI + added tests. ### Was this patch authored or co-authored using generative AI tooling? No. -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org 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