()
| 1118 | } |
| 1119 | |
| 1120 | fn test_partitioned_schema() -> TableSchema { |
| 1121 | use crate::spec::{DataType, IntType, Schema, VarCharType}; |
| 1122 | let schema = Schema::builder() |
| 1123 | .column("pt", DataType::VarChar(VarCharType::string_type())) |
| 1124 | .column("id", DataType::Int(IntType::new())) |
| 1125 | .partition_keys(["pt"]) |
| 1126 | .build() |
| 1127 | .unwrap(); |
| 1128 | TableSchema::new(0, &schema) |
| 1129 | } |
| 1130 | |
| 1131 | fn test_table(file_io: &FileIO, table_path: &str) -> Table { |
| 1132 | Table::new( |
no test coverage detected