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

Function int_stats_row

crates/paimon/src/table/table_scan.rs:839–846  ·  view source on GitHub ↗
(value: Option<i32>)

Source from the content-addressed store, hash-verified

837 }
838
839 fn int_stats_row(value: Option<i32>) -> Vec<u8> {
840 let mut builder = BinaryRowBuilder::new(1);
841 match value {
842 Some(value) => builder.write_int(0, value),
843 None => builder.set_null_at(0),
844 }
845 builder.build_serialized()
846 }
847
848 fn partition_string_field() -> Vec<DataField> {
849 vec![DataField::new(

Calls 3

build_serializedMethod · 0.80
write_intMethod · 0.45
set_null_atMethod · 0.45