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

Function test_display_in

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

Source from the content-addressed store, hash-verified

1251
1252 #[test]
1253 fn test_display_in() {
1254 let pb = PredicateBuilder::new(&test_fields());
1255 let p = pb.is_in("id", vec![Datum::Int(1), Datum::Int(2)]).unwrap();
1256 assert_eq!(format!("{p}"), "id IN (1, 2)");
1257 }
1258
1259 #[test]
1260 fn test_display_compound() {

Callers

nothing calls this directly

Calls 2

is_inMethod · 0.80
test_fieldsFunction · 0.70

Tested by

no test coverage detected