Commit cc13352
authored
feat(go): add filter push-down and predicate API for Go binding (#216)
Add complete predicate support to the Go binding, enabling filter
push-down for table scans. This includes:
- C FFI layer: predicate construction functions (equal, not_equal,
less_than, greater_than, is_null, is_in, etc.), combinators
(and/or/not), with_filter on ReadBuilder, and fix scan to
propagate filters via TableScanState
- Go binding: Predicate type, Go-native value types (Date, Time,
Timestamp, LocalZonedTimestamp, Decimal, Bytes), automatic
type inference from Go literals (int, string, bool, etc.),
and ReadBuilder.WithFilter method
- Tests: TestReadWithFilter with shared test helpers1 parent 96c8715 commit cc13352
12 files changed
Lines changed: 1925 additions & 94 deletions
File tree
- bindings
- c/src
- go
- predicate
- tests
- crates/paimon/src/table
- docs
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
| |||
0 commit comments