| 53 | using ::parquet::arrow::FileReader; |
| 54 | |
| 55 | ColumnDescriptor MakeColumnDescriptor(Type::type type, int type_length) { |
| 56 | // Repetition and max def/rep levels can take dummy values as they are not directly |
| 57 | // used by encoders and decoders. |
| 58 | auto node = schema::PrimitiveNode::Make("", Repetition::OPTIONAL, type, |
| 59 | ConvertedType::NONE, type_length); |
| 60 | return ColumnDescriptor(node, /*max_definition_level=*/1, /*max_repetition_level=*/0); |
| 61 | } |
| 62 | |
| 63 | namespace { |
| 64 |
no test coverage detected