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

Function test_get_string_variable_length

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

Source from the content-addressed store, hash-verified

1248
1249 #[test]
1250 fn test_get_string_variable_length() {
1251 let mut builder = BinaryRowBuilder::new(2);
1252 builder.write_string(0, "hello");
1253 builder.write_string(1, "world!");
1254 let row = builder.build();
1255
1256 assert_eq!(row.get_string(0).unwrap(), "hello");
1257 assert_eq!(row.get_string(1).unwrap(), "world!");
1258 }
1259
1260 #[test]
1261 fn test_get_binary_variable_length() {

Callers

nothing calls this directly

Calls 2

write_stringMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected