wangxianghu commented on a change in pull request #2994:
URL: https://github.com/apache/hudi/pull/2994#discussion_r642416416
##########
File path:
hudi-flink/src/main/java/org/apache/hudi/sink/partitioner/BucketAssignFunction.java
##########
@@ -189,15 +194,17 @@ public void processElement(I value, Context ctx,
Collector<O> out) throws Except
// The dataset may be huge, thus the processing would block for long,
// disabled by default.
- if (bootstrapIndex && !partitionLoadState.contains(partitionPath)) {
+ if (bootstrapIndex && !Boolean.TRUE.equals(partitionLoadState.value())) {
Review comment:
`Boolean.TRUE.equals(partitionLoadState.value()` =>
`partitionLoadState.value()` ?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]