jorisvandenbossche opened a new issue, #50849:
URL: https://github.com/apache/arrow/issues/50849
### Describe the bug, including details regarding any error messages,
version, and platform.
When accessing the `.type` of the logical type of a Parquet schema for the
new Geometry/Geography types, this still returns UNKNOWN instead of the correct
type:
```
>>> meta =
pq.read_metadata("./cpp/submodules/parquet-testing/data/geospatial/crs-default.parquet")
>>> meta.schema.column(1)
<ParquetColumnSchema>
name: geometry
path: geometry
max_definition_level: 1
max_repetition_level: 0
physical_type: BYTE_ARRAY
logical_type: Geometry(crs=)
converted_type (legacy): NONE
>>> meta.schema.column(1).logical_type
<pyarrow._parquet.ParquetLogicalType object at 0x7fc53c3f2cd0>
Geometry(crs=)
>>> meta.schema.column(1).logical_type.type
'UNKNOWN'
```
### Component(s)
Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]