luoyuxia commented on code in PR #2185:
URL: https://github.com/apache/fluss/pull/2185#discussion_r2646600392
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/tiering/source/TieringSplitReader.java:
##########
@@ -339,30 +417,29 @@ private TableBucketWriteResult<WriteResult>
completeLakeWriter(
checkNotNull(currentTableNumberOfSplits));
}
- private TableBucketWriteResultWithSplitIds
forEmptySplits(Set<TieringLogSplit> emptySplits) {
+ private TableBucketWriteResultWithSplitIds
forEmptySplits(Set<TieringSplit> emptySplits) {
Map<TableBucket, TableBucketWriteResult<WriteResult>> writeResults =
new HashMap<>();
Map<TableBucket, String> finishedSplitIds = new HashMap<>();
- for (TieringLogSplit logSplit : emptySplits) {
- TableBucket tableBucket = logSplit.getTableBucket();
- finishedSplitIds.put(tableBucket, logSplit.splitId());
+ for (TieringSplit tieringSplit : emptySplits) {
+ TableBucket tableBucket = tieringSplit.getTableBucket();
+ finishedSplitIds.put(tableBucket, tieringSplit.splitId());
writeResults.put(
tableBucket,
toTableBucketWriteResult(
- logSplit.getTablePath(),
+ tieringSplit.getTablePath(),
tableBucket,
- logSplit.getPartitionName(),
+ tieringSplit.getPartitionName(),
null,
- logSplit.getStoppingOffset(),
+ UNKNOW_BUCKET_OFFSET,
Review Comment:
when the split is force-ignored, the result will be null which upstream
operator will just ignore it.
--
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]