nanookclaw opened a new pull request, #22284: URL: https://github.com/apache/datafusion/pull/22284
## Which issue does this PR close? - Closes #22268. ## Rationale for this change The issue documents a PostgreSQL compatibility expectation for `regexp_like(E'a\nb', '^b', 'm')`: with the multiline flag, `^` should match after a newline. Current `main` already returns the expected result for the reported SQL, so this PR adds focused regression coverage to keep that behavior from drifting. ## What changes are included in this PR? This adds `regexp_like` tests for the multiline `m` flag in the SQL logic test suite and in the Rust unit tests for the scalar, array/scalar, and array/array execution paths. The adjacent no-flags SQL case remains false, documenting that the new behavior is specifically tied to `m`. ## Are these changes tested? Yes: - `cargo fmt --all --check` - `git diff --check` - `cargo test -p datafusion-functions --lib regexp_like` - `cargo test -p datafusion-sqllogictest --test sqllogictests -- regexp_like` ## Are there any user-facing changes? No. This is regression coverage for existing behavior. -- 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]
