uros-b commented on PR #59077: URL: https://github.com/apache/spark/pull/59077#issuecomment-5897310003
Otherwise, this looks like a correct, minimal, well-scoped fix: reversing the (key,value) pairs makes CaseKeyWhen's first match semantics reproduce LAST_WIN's last-matching-value (including a null last value), the optimizer and ArrayBasedMapBuilder read the same mapKeyDedupPolicy source, and the default EXCEPTION path is untouched. -- 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]
