MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / minimal_columnar_schema

Function minimal_columnar_schema

nodedb/tests/corruption_quarantine.rs:35–37  ·  view source on GitHub ↗

Build a single-column schema with one Int64 column.

()

Source from the content-addressed store, hash-verified

33
34/// Build a single-column schema with one Int64 column.
35fn minimal_columnar_schema() -> ColumnarSchema {
36 ColumnarSchema::new(vec![ColumnDef::required("id", ColumnType::Int64)]).expect("valid schema")
37}
38
39/// Produce a valid sealed columnar segment with one row.
40fn write_columnar_segment() -> Vec<u8> {

Callers 1

write_columnar_segmentFunction · 0.85

Calls 1

expectMethod · 0.45

Tested by

no test coverage detected