umrndem opened a new pull request, #373: URL: https://github.com/apache/datafusion-spark/pull/373
## Which issue does this PR close? Closes #200. ## What changes are included in this PR? Register `find_in_set` with Spark’s string coercion rules and reuse DataFusion’s existing search implementation. The result is always `INT`, including for `LargeUtf8` inputs. ## Are these changes tested? Added SQL cases for nulls, implicit casts, mixed string layouts, and the return type. All 562 Rust tests and 258 SQL test files passed. Formatting and Clippy passed. I also checked 20 cases against Spark 4.2.0’s string implementation. ## Are there any user-facing changes? `find_in_set` now uses Spark-compatible behavior for the default binary collation. -- 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]
