You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "jackylee-ch (via GitHub)" <gi...@apache.org> on 2026/10/04 02:09:59 UTC

[PR] feat(go): expose string and range predicates through the Go binding [paimon-rust]

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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(go): expose string and range predicates through the Go binding [paimon-rust]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #1022:
URL: https://github.com/apache/paimon-rust/pull/1022


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org