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

Function schema

nodedb/tests/bitemporal_array_truncation_flag.rs:26–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24use tempfile::TempDir;
25
26fn schema() -> std::sync::Arc<nodedb_array::schema::ArraySchema> {
27 std::sync::Arc::new(
28 ArraySchemaBuilder::new("flag_test")
29 .dim(DimSpec::new(
30 "x",
31 DimType::Int64,
32 Domain::new(DomainBound::Int64(0), DomainBound::Int64(15)),
33 ))
34 .attr(AttrSpec::new("v", AttrType::Int64, true))
35 .tile_extents(vec![16])
36 .build()
37 .unwrap(),
38 )
39}
40
41const SCHEMA_HASH: u64 = 0xF1A9_7E57_0000_0001;
42const TENANT: TenantId = TenantId::new(1);

Callers 1

open_engineFunction · 0.70

Calls 4

buildMethod · 0.45
tile_extentsMethod · 0.45
attrMethod · 0.45
dimMethod · 0.45

Tested by

no test coverage detected