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

Function view_2d

nodedb-sql/src/planner/array_dml.rs:172–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170 }
171
172 fn view_2d() -> ArrayCatalogView {
173 ArrayCatalogView {
174 name: "g".into(),
175 dims: vec![
176 ArrayDimAst {
177 name: "chrom".into(),
178 dtype: ArrayDimType::Int64,
179 lo: crate::types_array::ArrayDomainBound::Int64(1),
180 hi: crate::types_array::ArrayDomainBound::Int64(23),
181 },
182 ArrayDimAst {
183 name: "pos".into(),
184 dtype: ArrayDimType::Int64,
185 lo: crate::types_array::ArrayDomainBound::Int64(0),
186 hi: crate::types_array::ArrayDomainBound::Int64(10_000_000),
187 },
188 ],
189 attrs: vec![ArrayAttrAst {
190 name: "v".into(),
191 dtype: ArrayAttrType::Float64,
192 nullable: true,
193 }],
194 tile_extents: vec![1, 1_000_000],
195 }
196 }
197
198 #[test]
199 fn insert_unknown_array() {

Callers 3

insert_happyFunction · 0.85
delete_happyFunction · 0.85

Calls

no outgoing calls

Tested by 3

insert_happyFunction · 0.68
delete_happyFunction · 0.68