nsivabalan commented on code in PR #13498: URL: https://github.com/apache/hudi/pull/13498#discussion_r2231773056
########## hudi-common/src/main/java/org/apache/hudi/common/table/PartialUpdateMode.java: ########## @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hudi.common.table; + +import org.apache.hudi.common.config.EnumFieldDescription; + +public enum PartialUpdateMode { + @EnumFieldDescription( + "No partial update logic should be employed.") Review Comment: We are reworking on this. There won't be any default value in table property for out of the box cases for the PartialUpdateMode. When MIT partial writes are triggered for a table that does not have any property set for PartialUpdateMode, KEEP_VALUES will be used as the default/fallback option. If table property for PartialUpdateMode is set, we will honor that. Addressing as part of https://github.com/apache/hudi/pull/13623 -- 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]
