uros-db commented on code in PR #54040:
URL: https://github.com/apache/spark/pull/54040#discussion_r2806267002
##########
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedColumnReader.java:
##########
@@ -180,6 +182,8 @@ private boolean isLazyDecodingSupported(
break;
case BINARY:
isSupported = !needsDecimalScaleRebase(sparkType);
+ boolean isGeoType = sparkType instanceof GeometryType || sparkType
instanceof GeographyType;
+ isSupported = isSupported && !isGeoType;
Review Comment:
We are incompatible with the lazy decoding optimization because we do not
guarantee the internal memory format for geo types - this can change in the
future, and we need use `WKBConverterStrategy` for interfacing with these
(please see: https://github.com/apache/spark/pull/54040#discussion_r2806250676).
--
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]