1
0

[HUDI-2392] Do not send partition delete record when changelog mode enabled (#3586)

This commit is contained in:
Danny Chan
2021-09-02 20:58:12 +08:00
committed by GitHub
parent 7a1bd225ca
commit 79b896f071

View File

@@ -109,7 +109,8 @@ public class BucketAssignFunction<K, I, O extends HoodieRecord<?>>
this.conf = conf;
this.isChangingRecords = WriteOperationType.isChangingRecords(
WriteOperationType.fromValue(conf.getString(FlinkOptions.OPERATION)));
this.globalIndex = conf.getBoolean(FlinkOptions.INDEX_GLOBAL_ENABLED);
this.globalIndex = conf.getBoolean(FlinkOptions.INDEX_GLOBAL_ENABLED)
&& !conf.getBoolean(FlinkOptions.CHANGELOG_ENABLED);
}
@Override