jackylee-ch opened a new pull request, #1022:
URL: https://github.com/apache/paimon-rust/pull/1022

   The Go `PredicateBuilder` exposed only 
`Eq`/`NotEq`/`Lt`/`Le`/`Gt`/`Ge`/`IsNull`/`IsNotNull`/`In`/`NotIn`, so a Go 
caller could not push down `StartsWith` / `EndsWith` / `Contains` / `Like` / 
`Between` / `NotBetween`. `Contains`, ends-with, and a leading-wildcard `LIKE` 
cannot be expressed with the available range operators, so those filters read 
the whole table back and discard rows in Go, skipping no files. The C binding 
(#523) and the Python binding already expose all six.
   
   This adds the six methods, wiring the already-exported 
`paimon_predicate_*_with_case_sensitive` C functions through the existing FFI 
helpers: starts/ends/contains reuse the leaf-datum shape, `like` adds the 
escape char, and between/not-between pass the two bounds. All honor the 
builder's case sensitivity.
   
   A test exercises each operator against `simple_log_table` and asserts the 
matched rows.
   


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