Skip to content

Commit 6779a15

Browse files
Flink: backport for fix read config of connector.iceberg.max-allowed-planning-failures (#12589)
1 parent 31e0f19 commit 6779a15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flink/v1.18/flink/src/main/java/org/apache/iceberg/flink/source/ScanContext.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public Builder resolveConfig(
557557
.planParallelism(flinkReadConf.workerPoolSize())
558558
.includeColumnStats(flinkReadConf.includeColumnStats())
559559
.maxPlanningSnapshotCount(flinkReadConf.maxPlanningSnapshotCount())
560-
.maxAllowedPlanningFailures(maxAllowedPlanningFailures)
560+
.maxAllowedPlanningFailures(flinkReadConf.maxAllowedPlanningFailures())
561561
.watermarkColumn(flinkReadConf.watermarkColumn())
562562
.watermarkColumnTimeUnit(flinkReadConf.watermarkColumnTimeUnit());
563563
}

flink/v1.19/flink/src/main/java/org/apache/iceberg/flink/source/ScanContext.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public Builder resolveConfig(
557557
.planParallelism(flinkReadConf.workerPoolSize())
558558
.includeColumnStats(flinkReadConf.includeColumnStats())
559559
.maxPlanningSnapshotCount(flinkReadConf.maxPlanningSnapshotCount())
560-
.maxAllowedPlanningFailures(maxAllowedPlanningFailures)
560+
.maxAllowedPlanningFailures(flinkReadConf.maxAllowedPlanningFailures())
561561
.watermarkColumn(flinkReadConf.watermarkColumn())
562562
.watermarkColumnTimeUnit(flinkReadConf.watermarkColumnTimeUnit());
563563
}

0 commit comments

Comments
 (0)