cshuo commented on code in PR #19390:
URL: https://github.com/apache/hudi/pull/19390#discussion_r3679293860


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/OptionsResolver.java:
##########
@@ -166,13 +166,13 @@ public static boolean isCowTable(Configuration conf) {
   /**
    * Returns the configured table storage layout.
    *
-   * <p>Insert and bulk insert operations preserve duplicate record keys and 
therefore default to
-   * the regular storage layout. Other operations use Flink's LSM tree default.
+   * <p>Insert operations preserve duplicate record keys and therefore default 
to the regular
+   * storage layout. Other operations use Flink's LSM tree default.
    */
   public static HoodieTableConfig.TableStorageLayout 
getTableStorageLayout(Configuration conf) {
     return HoodieTableConfig.TableStorageLayout.fromConfigValue(conf.getString(
         HoodieTableConfig.TABLE_STORAGE_LAYOUT.key(),
-        (isInsertOperation(conf) || isBulkInsertOperation(conf))
+        isInsertOperation(conf)

Review Comment:
   Base-file-only reads use a dedicated fast path and do not invoke 
LsmFileGroupRecordIterator#nextMergedRecord, so duplicate records written by 
bulk insert remain visible like the existing file group reader.



-- 
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]

Reply via email to