danny0405 commented on code in PR #13583:
URL: https://github.com/apache/hudi/pull/13583#discussion_r2326453722
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieWriteHandle.java:
##########
@@ -145,7 +145,7 @@ protected HoodieWriteHandle(HoodieWriteConfig config,
String instantTime, String
private void initSecondaryIndexStats(boolean preserveMetadata) {
// Secondary index should not be updated for clustering and compaction
// Since for clustering and compaction preserveMetadata is true, we are
checking for it before enabling secondary index update
- if (config.isSecondaryIndexEnabled() && !preserveMetadata) {
Review Comment:
so the user can not disable the SI with write option now? what is the
suggested way to disable it then?
--
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]