maryannxue opened a new pull request #27857: [SPARK-31096][SQL] Replace `Array` 
with `Seq` in AQE `CustomShuffleReaderExec`
URL: https://github.com/apache/spark/pull/27857
 
 
   ### What changes were proposed in this pull request?
   This PR changes the type of `CustomShuffleReaderExec`'s `partitionSpecs` 
from `Array` to `Seq`, since `Array` compares references not values for 
equality, which could lead to potential plan reuse problem.
   
   ### Why are the changes needed?
   Unlike `Seq`, `Array` compares references not values for equality, which 
could lead to potential plan reuse problem.
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   Passes existing UTs.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to