stevenzwu commented on code in PR #5318:
URL: https://github.com/apache/iceberg/pull/5318#discussion_r926175964
##########
flink/v1.15/flink/src/main/java/org/apache/iceberg/flink/source/enumerator/StaticIcebergEnumerator.java:
##########
@@ -56,30 +46,11 @@ public StaticIcebergEnumerator(
this.assigner = assigner;
this.table = table;
this.scanContext = scanContext;
- // split enumeration is not needed during restore scenario
- this.shouldEnumerate = enumState == null;
}
@Override
public void start() {
super.start();
- if (shouldEnumerate) {
Review Comment:
split discovery for static/batch enumerator is performed in the
`IcebergSource` line 183 now. this is to consolidate the batch planning into a
single class.
--
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]