lxy-9602 opened a new pull request, #36: URL: https://github.com/apache/paimon-cpp/pull/36
<!-- Please specify the module before the PR name: feat: ... or fix: ... --> ### Purpose <!-- Linking this pull request to the issue --> No Linked issue. Complete the predicate framework with builder, utilities, validation, and search predicates: - `PredicateBuilder` — fluent API to construct leaf/compound predicates against a `RowType` (`predicate_builder.h/cpp`) - `PredicateUtils` — helpers for predicate transformation, splitting by And, and field extraction (`predicate_utils.h/cpp`) - `PredicateValidator` — validates predicate field references and type compatibility (`predicate_validator.h`) - `FullTextSearch` — full-text search predicate descriptor (`full_text_search.h`) - `VectorSearch` — vector similarity search predicate descriptor (`vector_search.h`) <!-- What is the purpose of the change --> ### Tests - `predicate_test.cpp` — end-to-end predicate construction and evaluation across all operators - `predicate_utils_test.cpp` — predicate transformation and splitting - `predicate_validator_test.cpp` — field reference and type validation <!-- List UT and IT cases to verify this change --> ### API and Format New public headers under `include/paimon/predicate/` (`predicate_builder.h`, `predicate_utils.h`, `full_text_search.h`, `vector_search.h`). <!-- Does this change affect API in include dir or storage format or protocol --> ### Documentation <!-- Does this change introduce a new feature --> ### Generative AI tooling Migrate-by: Aone Copilot (Claude) <!-- If generative AI tooling has been used in the process of authoring this patch, please include the phrase: 'Generated-by: ' followed by the name of the tool and its version. If no, write 'No'. Please refer to the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) for details. --> -- 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]
