nssalian commented on code in PR #16292:
URL: https://github.com/apache/iceberg/pull/16292#discussion_r3405620996


##########
spark/v4.1/spark/src/main/java/org/apache/iceberg/spark/source/SparkBatch.java:
##########
@@ -169,6 +171,13 @@ private boolean supportsParquetBatchReads(ScanTask task) {
   }
 
   private boolean supportsParquetBatchReads(Types.NestedField field) {
+    if (field.type().isVariantType()) {
+      return !PropertyUtil.propertyAsBoolean(

Review Comment:
   This is non-trivial. Working on it so it doesn't hit more edge cases and 
it's in line with the interfaces. Will surface once I have it cleanly working 
locally.



-- 
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]

Reply via email to