From 98c358914efb4988ffc83cf8e47fda9342857683 Mon Sep 17 00:00:00 2001 From: Gang Wu Date: Fri, 27 Sep 2024 09:48:09 +0800 Subject: [PATCH] add geoparquet column metadata back --- src/main/thrift/parquet.thrift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/thrift/parquet.thrift b/src/main/thrift/parquet.thrift index 77af877b2..47a28433c 100644 --- a/src/main/thrift/parquet.thrift +++ b/src/main/thrift/parquet.thrift @@ -570,9 +570,13 @@ struct GeometryType { 4: optional string crs_encoding; /** * Additional informative metadata as a list of key-value pair of UTF-8 string. + * * It is not strictly required by the low-level Parquet implementation for * features like statistics or filter pushdown. Using a list of key-value pair * provides maximum flexibility for adding future informative metadata. + * + * GeoParquet could store its column metadata in this field: + * https://github.com/opengeospatial/geoparquet/blob/v1.1.0/format-specs/geoparquet.md?plain=1#L46 */ 5: optional list key_value_metadata; }