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

Function test_get_binary_inline

crates/paimon/src/spec/binary_row.rs:1337–1343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1335
1336 #[test]
1337 fn test_get_binary_inline() {
1338 let mut builder = BinaryRowBuilder::new(1);
1339 builder.write_binary_inline(0, &[0xDE, 0xAD]);
1340 let row = builder.build();
1341
1342 assert_eq!(row.get_binary(0).unwrap(), &[0xDE, 0xAD]);
1343 }
1344
1345 #[test]
1346 fn test_get_decimal_compact() {

Callers

nothing calls this directly

Calls 2

write_binary_inlineMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected