()
| 200 | use nodedb_types::{OPEN_UPPER, Surrogate}; |
| 201 | |
| 202 | fn schema() -> crate::schema::ArraySchema { |
| 203 | ArraySchemaBuilder::new("t") |
| 204 | .dim(DimSpec::new( |
| 205 | "x", |
| 206 | DimType::Int64, |
| 207 | Domain::new(DomainBound::Int64(0), DomainBound::Int64(1_000_000)), |
| 208 | )) |
| 209 | .attr(AttrSpec::new("v", AttrType::Int64, true)) |
| 210 | .tile_extents(vec![1000]) |
| 211 | .build() |
| 212 | .unwrap() |
| 213 | } |
| 214 | |
| 215 | fn make_tile(s: &crate::schema::ArraySchema, n: usize) -> SparseTile { |
| 216 | let mut b = SparseTileBuilder::new(s); |