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

Function view

nodedb-sql/src/planner/array_fn/tests.rs:37–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37fn view() -> ArrayCatalogView {
38 ArrayCatalogView {
39 name: "g".into(),
40 dims: vec![
41 ArrayDimAst {
42 name: "chrom".into(),
43 dtype: ArrayDimType::Int64,
44 lo: ArrayDomainBound::Int64(1),
45 hi: ArrayDomainBound::Int64(23),
46 },
47 ArrayDimAst {
48 name: "pos".into(),
49 dtype: ArrayDimType::Int64,
50 lo: ArrayDomainBound::Int64(0),
51 hi: ArrayDomainBound::Int64(1_000_000),
52 },
53 ],
54 attrs: vec![
55 ArrayAttrAst {
56 name: "variant".into(),
57 dtype: ArrayAttrType::String,
58 nullable: true,
59 },
60 ArrayAttrAst {
61 name: "qual".into(),
62 dtype: ArrayAttrType::Float64,
63 nullable: true,
64 },
65 ],
66 tile_extents: vec![1, 1_000_000],
67 }
68}
69
70fn cat() -> StubCatalog {
71 StubCatalog {

Callers 1

catFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected