zinking commented on code in PR #5143:
URL: https://github.com/apache/iceberg/pull/5143#discussion_r908089631
##########
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/source/SparkBatch.java:
##########
@@ -65,18 +63,24 @@ public InputPartition[] planInputPartitions() {
Broadcast<Table> tableBroadcast =
sparkContext.broadcast(SerializableTable.copyOf(table));
String expectedSchemaString = SchemaParser.toJson(expectedSchema);
- InputPartition[] readTasks = new InputPartition[tasks.size()];
+ InputPartition[] readTasks = new InputPartition[tasks().size()];
Review Comment:
ja, in some Batch like fileBatch, tasks are recomputed
--
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]