dongjoon-hyun opened a new pull request, #59936: URL: https://github.com/apache/spark/pull/59936
### What changes were proposed in this pull request? This PR removes the duplicate `_: FindInSet` alternative from `CollationTypeCoercion.canContainIndeterminateCollation`. `FindInSet` is already matched earlier in the same pattern. ### Why are the changes needed? The second alternative can never match. It was added together with `_: In` while SPARK-50522 (#49103) was being developed. Removing it keeps the list of expressions that reject indeterminate collation accurate. ### Does this PR introduce _any_ user-facing change? No. The pattern match result is unchanged. ### How was this patch tested? Pass the CIs. The existing `IndeterminateCollationTestSuite` and `collations-string-functions.sql` golden tests still verify that `find_in_set` fails at analysis with `INDETERMINATE_COLLATION_IN_EXPRESSION`. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 -- 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]
