Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This is the code for reproducing this problem:
from shapely.geometry import Point df = spark.createDataFrame([(1, Point(1, 2)), (2, Point(2, 3))], ["id", "test_geom"]) df.printSchema() df.write.format("geoparquet").mode("overwrite").save("tmp_loc") df = spark.read.format("geoparquet").load("tmp_loc") df.printSchema()
Output:
root |-- id: long (nullable = true) |-- test_geom: geometry (nullable = true) root |-- id: long (nullable = true) |-- test_geom: binary (nullable = true)
Attachments
Issue Links
- is duplicated by
-
SEDONA-511 geometry columns with snake_case names in GeoParquet files cannot be recognized as geometry column
- Resolved