aokolnychyi commented on code in PR #5934:
URL: https://github.com/apache/iceberg/pull/5934#discussion_r990550739
##########
spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/SparkScan.java:
##########
@@ -101,15 +104,17 @@ protected List<Expression> filterExpressions() {
return filterExpressions;
}
+ protected abstract List<CombinedScanTask> tasks();
+
@Override
public Batch toBatch() {
- return this;
+ return new SparkBatch(sparkContext, table, readConf, tasks(),
expectedSchema, hashCode());
Review Comment:
In line with `SparkMicroBatchStream` below.
--
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]