tedyu commented on PR #48116: URL: https://github.com/apache/spark/pull/48116#issuecomment-2355538099
bq. building a Set is not for free. Sorting is an O(N log N) operation while building Set is linear in complexity. bq. The Set removes duplicates In this code, there is no duplicate in the schema. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
