danny0405 commented on code in PR #14205:
URL: https://github.com/apache/hudi/pull/14205#discussion_r2497094306
##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/HoodieSparkParquetReader.java:
##########
@@ -120,15 +129,56 @@ public ClosableIterator<UnsafeRow>
getUnsafeRowIterator(Schema requestedSchema)
}
public ClosableIterator<UnsafeRow> getUnsafeRowIterator(StructType
requestedSchema) throws IOException {
+ return getUnsafeRowIterator(requestedSchema, Collections.emptyList());
+ }
+
+ /**
+ * Read parquet with requested schema and filters.
+ * WARN:
+ * Currently, the filter must only contain field references related to the
primary key, as the primary key does not involve schema evolution.
Review Comment:
we can not really filter with non-pk fields right with the event time
ordering merging?
--
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]