MCPcopy Create free account
hub / github.com/apache/paimon-rust / test_or_single

Function test_or_single

crates/paimon/src/spec/predicate.rs:1142–1147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1140
1141 #[test]
1142 fn test_or_single() {
1143 let pb = PredicateBuilder::new(&test_fields());
1144 let p = pb.equal("id", Datum::Int(1)).unwrap();
1145 let combined = Predicate::or(vec![p.clone()]);
1146 assert_eq!(combined, p);
1147 }
1148
1149 #[test]
1150 fn test_or_flattens() {

Callers

nothing calls this directly

Calls 2

equalMethod · 0.80
test_fieldsFunction · 0.70

Tested by

no test coverage detected