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

Function test_get_string_inline

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

Source from the content-addressed store, hash-verified

1324
1325 #[test]
1326 fn test_get_string_inline() {
1327 let mut builder = BinaryRowBuilder::new(2);
1328 builder.write_string_inline(0, "hi");
1329 builder.write_string_inline(1, "7_bytes");
1330 let row = builder.build();
1331
1332 assert_eq!(row.get_string(0).unwrap(), "hi");
1333 assert_eq!(row.get_string(1).unwrap(), "7_bytes");
1334 }
1335
1336 #[test]
1337 fn test_get_binary_inline() {

Callers

nothing calls this directly

Calls 2

write_string_inlineMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected