79743115

Date: 2025-08-22 07:52:12
Score: 3.5
Natty:
Report link

Did you find a solution yet? I had the same problem and still try to figure out. Which version of spark do you have?

A simple workaround is to transform the geometry column to wkt or wkb and drop the geometry column.

In case of reading you have to tranform it back. Its not nice but functional.

df = df.withColumn("geometry_wkt", expr("ST_AsText(geometry)"))

Reasons:
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: Gabrie