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

   ## Summary
   - Add complete predicate support to the Go binding (equal, not_equal, 
less_than, greater_than, is_null, is_in, and/or/not, etc.)
   - Go callers can pass native Go values directly (`int`, `string`, `bool`, 
etc.) with dedicated types for `Date`, `Time`, `Timestamp`, 
`LocalZonedTimestamp`, `Decimal`, `Bytes`
   - Fix scan to propagate filters via `TableScanState` in C FFI layer
   - Add `ReadBuilder.WithFilter` method and integration test
   
   ## Go API Usage
   
   ```go
   // Native Go literals
   pred, _ := table.PredicateEqual("id", 1)
   pred, _ := table.PredicateEqual("name", "alice")
   
   // Dedicated types for temporal/special types
   pred, _ := table.PredicateEqual("dt", paimon.Date(19000))
   pred, _ := table.PredicateEqual("ts", paimon.Timestamp{Millis: 
1700000000000, Nanos: 0})
   
   // IN predicate with variadic args
   pred, _ := table.PredicateIsIn("id", 1, 2, 3)
   
   // Combinators
   combined := paimon.PredicateAnd(pred1, pred2)
   
   // Apply filter
   rb.WithFilter(pred)
   ```
   
   Closes #215
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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