You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2026/08/11 13:04:55 UTC

[I] [Python] the type of ParquetLogicalType not correctly returned for Geometry/Geography [arrow]

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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] the type of ParquetLogicalType not correctly returned for Geometry/Geography [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #50849:
URL: https://github.com/apache/arrow/issues/50849#issuecomment-5277937125

   Issue resolved by pull request 50850
   https://github.com/apache/arrow/pull/50850


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] the type of ParquetLogicalType not correctly returned for Geometry/Geography [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd closed issue #50849: [Python] the type of ParquetLogicalType not correctly returned for Geometry/Geography
URL: https://github.com/apache/arrow/issues/50849


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org