JingsongLi opened a new pull request, #1289:
URL: https://github.com/apache/paimon-rust/pull/1289

   ### Purpose
   
   Closes #1283.
   
   sqlparser accepts regex operator ASTs, but DataFusion 54 does not plan 
RLIKE/REGEXP. The pinned parser also consumes a bare NULL regex pattern before 
parsing it.
   
   ### Brief change log
   
   - Lower parsed RLIKE/REGEXP and NOT forms to native DataFusion regex 
operators, retaining expression grouping.
   - Work around bare-NULL parsing without modifying strings, comments, quoted 
names or same-named column identifiers.
   - Cover existing REST function/view parsing and native views while retaining 
portable persistent definitions.
   
   ### Tests
   
   - Regression coverage: Boolean and NULL semantics, Unicode/inline flags, 
dynamic patterns, invalid-pattern errors, native views, portable REST 
definitions, externally stored NULL-pattern views/functions, and 
identifier/parser boundary cases.
   - Reproduced the missing behavior on the original main before implementation.
   - Passed the complete DataFusion suite with `TZ=UTC RUST_MIN_STACK=16777216 
CARGO_BUILD_JOBS=3 cargo test --locked -p paimon-datafusion --all-targets -- 
--test-threads=4`.
   - Passed Rust 1.98 Clippy for this crate and all its targets with `--no-deps 
-- -D warnings`, formatting and diff checks.
   
   ### API and Format
   
   Adds SQLContext SQL capabilities. No storage-format or Rust public API 
changes.
   
   ### Documentation
   
   Documented syntax, type/null/error behavior and supported limits in 
`docs/src/sql.md`.
   


-- 
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]

Reply via email to