szehon-ho commented on code in PR #54039:
URL: https://github.com/apache/spark/pull/54039#discussion_r2746603730
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala:
##########
@@ -408,6 +408,10 @@ class ParquetFileFormat
}
override def supportDataType(dataType: DataType): Boolean = dataType match {
+ // GeoSpatial data types in Parquet are limited only to types with
supported SRIDs.
+ case g: GeometryType => GeometryType.isSridSupported(g.srid)
+ case g: GeographyType => GeographyType.isSridSupported(g.srid)
Review Comment:
nit: should we add a space for consistency?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]