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

Function test_get_binary_variable_length

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

Source from the content-addressed store, hash-verified

1259
1260 #[test]
1261 fn test_get_binary_variable_length() {
1262 let mut builder = BinaryRowBuilder::new(1);
1263 builder.write_binary(0, b"\x00\x01\x02\x03");
1264 let row = builder.build();
1265
1266 assert_eq!(row.get_binary(0).unwrap(), &[0x00, 0x01, 0x02, 0x03]);
1267 }
1268
1269 #[test]
1270 fn test_mixed_types_partition_row() {

Callers

nothing calls this directly

Calls 2

write_binaryMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected