| 276 | } |
| 277 | |
| 278 | static std::shared_ptr<DataType> List(std::shared_ptr<DataType> type, |
| 279 | bool nullable = true) { |
| 280 | // TODO should field name "element" (Parquet convention for List nodes) |
| 281 | // be changed to "item" (Arrow convention for List types)? |
| 282 | return list(field("element", type, nullable)); |
| 283 | } |
| 284 | |
| 285 | // |
| 286 | // Primitive columns with no intermediate group node |