()
| 139 | } |
| 140 | |
| 141 | pub fn schema() -> SchemaRef { |
| 142 | static SCHEMA: LazyLock<SchemaRef> = LazyLock::new(|| { |
| 143 | Arc::new(Schema::new(vec![ |
| 144 | Field::new("a", DataType::Int64, true), |
| 145 | Field::new("b", DataType::Int64, true), |
| 146 | Field::new("c", DataType::Int64, true), |
| 147 | Field::new("d", DataType::Int32, true), |
| 148 | Field::new("e", DataType::Boolean, true), |
| 149 | ])) |
| 150 | }); |
| 151 | Arc::clone(&SCHEMA) |
| 152 | } |
| 153 | |
| 154 | pub fn create_test_schema() -> Result<SchemaRef> { |
| 155 | static SCHEMA: LazyLock<SchemaRef> = LazyLock::new(|| { |
no test coverage detected
searching dependent graphs…