You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "lokeshj1703 (via GitHub)" <gi...@apache.org> on 2026/01/12 18:23:54 UTC

[PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

lokeshj1703 opened a new pull request, #17834:
URL: https://github.com/apache/hudi/pull/17834

   ### Describe the issue this Pull Request addresses
   
   This PR cherry-picks fix https://github.com/apache/hudi/pull/13650 into branch-0.x. Its adds the write configuration to control the record key encoding. It also includes validation during initialisation of the table but omits the same during upgrade/downgrade since the behaviour was correct with older table version.
   
   ### Summary and Changelog
   
   cherry-picks fix https://github.com/apache/hudi/pull/13650 into branch-0.x
   
   ### Impact
   
   cherry-picks fix https://github.com/apache/hudi/pull/13650 into branch-0.x
   
   ### Risk Level
   
   Low
   
   ### Documentation Update
   
   NA
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Enough context is provided in the sections above
   - [ ] Adequate tests were added if applicable
   


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3739901358

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c1968763ac3127c5279cec34d24ad93629c314d Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3853294100

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695",
       "triggerID" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e25e736125b67c9f6791415af7b8a907e45a05c0 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212) 
   * b03e5b7df5cd065269b9ac16a8021973f36a7457 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "lokeshj1703 (via GitHub)" <gi...@apache.org>.
lokeshj1703 commented on code in PR #17834:
URL: https://github.com/apache/hudi/pull/17834#discussion_r2768820999


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/keygen/ComplexKeyGenerator.java:
##########
@@ -47,6 +48,7 @@ public ComplexKeyGenerator(TypedProperties props) {
         .filter(s -> !s.isEmpty())
         .collect(Collectors.toList());
     this.complexAvroKeyGenerator = new ComplexAvroKeyGenerator(props);
+    this.encodeSingleKeyFieldName = KeyGenUtils.encodeSingleKeyFieldNameForComplexKeyGen(props);

Review Comment:
   It will not throw NPE. It will throw an exception IllegalArgumentException since the API checks for key existence.
   `throw new IllegalArgumentException("Property " + property + " not found");`
   



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/keygen/BuiltinKeyGenerator.java:
##########
@@ -233,23 +235,43 @@ private <S> S combineRecordKeyInternal(
   }
 
   private <S> S combineCompositeRecordKeyInternal(
+      boolean encodeSingleKeyFieldName,
       Supplier<PartitionPathFormatterBase.StringBuilder<S>> builderFactory,
       Function<Object, S> converter,
       Function<S, S> emptyKeyPartHandler,
       Predicate<S> isNullOrEmptyKeyPartPredicate,
       Object... recordKeyParts
   ) {
-    boolean hasNonNullNonEmptyPart = false;
+    if (recordKeyParts.length == 0) {
+      throw new HoodieKeyException(String.format("All of the values for (%s) were either null or empty", recordKeyFields));
+    }
 
     PartitionPathFormatterBase.StringBuilder<S> sb = builderFactory.get();
+
+    if (recordKeyParts.length == 1) {
+      // NOTE: If record-key part has already been a string [[toString]] will be a no-op
+      S convertedKeyPart = emptyKeyPartHandler.apply(converter.apply(recordKeyParts[0]));
+
+      if (encodeSingleKeyFieldName) {
+        sb.appendJava(recordKeyFields.get(0));
+        sb.appendJava(DEFAULT_COMPOSITE_KEY_FILED_VALUE);

Review Comment:
   Addressed



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "lokeshj1703 (via GitHub)" <gi...@apache.org>.
lokeshj1703 commented on code in PR #17834:
URL: https://github.com/apache/hudi/pull/17834#discussion_r2768822391


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/keygen/KeyGenUtils.java:
##########
@@ -272,4 +276,30 @@ public static boolean isAutoGeneratedRecordKeysEnabled(TypedProperties props) {
         || props.getProperty(KeyGeneratorOptions.RECORDKEY_FIELD_NAME.key()).equals(StringUtils.EMPTY_STRING);
     // spark-sql sets record key config to empty string for update, and couple of other statements.
   }
+
+  public static boolean isComplexKeyGeneratorWithSingleRecordKeyField(HoodieTableConfig tableConfig) {
+    Option<String[]> recordKeyFields = tableConfig.getRecordKeyFields();
+    return KeyGeneratorType.isComplexKeyGenerator(tableConfig)
+        && recordKeyFields.isPresent() && recordKeyFields.get().length == 1;
+  }
+
+  public static String getComplexKeygenErrorMessage(String operation) {
+    return "This table uses the complex key generator with a single record "
+        + "key field. If the table is written with Hudi 0.14.1, 0.15.0, 1.0.0, 1.0.1, or 1.0.2 "
+        + "release before, the table may potentially contain duplicates due to a breaking "
+        + "change in the key encoding in the _hoodie_record_key meta field (HUDI-7001) which "
+        + "is crucial for upserts. Please take action based on the details on the deployment "
+        + "guide (https://hudi.apache.org/docs/deployment#complex-key-generator) "
+        + "before resuming the " + operation + " to the this table. If you're certain "

Review Comment:
   Addressed



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3755362855

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950) 
   * 503bfebbab930de8d2449f500d4f361559aec2d7 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3756008623

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 503bfebbab930de8d2449f500d4f361559aec2d7 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092) 
   * 63ca894edd0daded645ccd9b01997cd9726a8d13 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3767716891

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea8c7a16590569088b27daaa2991096c0d4c80ca Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129) 
   * b3b85019773d97f32d9dbd32e04c824a5d4beb9e UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3758365718

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 63ca894edd0daded645ccd9b01997cd9726a8d13 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097) 
   * 388f41bb77b42613c1d6ea831a8c3dd157454da0 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3740247081

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3882570266

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695",
       "triggerID" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b55ffdd5f6e250cb24b84b6af91d23daa0b6172e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b55ffdd5f6e250cb24b84b6af91d23daa0b6172e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b03e5b7df5cd065269b9ac16a8021973f36a7457 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695) 
   * b55ffdd5f6e250cb24b84b6af91d23daa0b6172e UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3758371683

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 63ca894edd0daded645ccd9b01997cd9726a8d13 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097) 
   * 388f41bb77b42613c1d6ea831a8c3dd157454da0 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3767760762

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea8c7a16590569088b27daaa2991096c0d4c80ca Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129) 
   * b3b85019773d97f32d9dbd32e04c824a5d4beb9e Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209) 
   * e25e736125b67c9f6791415af7b8a907e45a05c0 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3767947194

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b3b85019773d97f32d9dbd32e04c824a5d4beb9e Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209) 
   * e25e736125b67c9f6791415af7b8a907e45a05c0 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3853561403

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695",
       "triggerID" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b03e5b7df5cd065269b9ac16a8021973f36a7457 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3739892600

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c1968763ac3127c5279cec34d24ad93629c314d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3759384875

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 388f41bb77b42613c1d6ea831a8c3dd157454da0 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120) 
   * ea8c7a16590569088b27daaa2991096c0d4c80ca UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3740152873

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c1968763ac3127c5279cec34d24ad93629c314d Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948) 
   * 906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3756131800

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 63ca894edd0daded645ccd9b01997cd9726a8d13 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3882588689

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695",
       "triggerID" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b55ffdd5f6e250cb24b84b6af91d23daa0b6172e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11930",
       "triggerID" : "b55ffdd5f6e250cb24b84b6af91d23daa0b6172e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b03e5b7df5cd065269b9ac16a8021973f36a7457 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695) 
   * b55ffdd5f6e250cb24b84b6af91d23daa0b6172e Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11930) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "linliu-code (via GitHub)" <gi...@apache.org>.
linliu-code commented on code in PR #17834:
URL: https://github.com/apache/hudi/pull/17834#discussion_r2762098168


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/keygen/KeyGenUtils.java:
##########
@@ -272,4 +276,30 @@ public static boolean isAutoGeneratedRecordKeysEnabled(TypedProperties props) {
         || props.getProperty(KeyGeneratorOptions.RECORDKEY_FIELD_NAME.key()).equals(StringUtils.EMPTY_STRING);
     // spark-sql sets record key config to empty string for update, and couple of other statements.
   }
+
+  public static boolean isComplexKeyGeneratorWithSingleRecordKeyField(HoodieTableConfig tableConfig) {
+    Option<String[]> recordKeyFields = tableConfig.getRecordKeyFields();
+    return KeyGeneratorType.isComplexKeyGenerator(tableConfig)
+        && recordKeyFields.isPresent() && recordKeyFields.get().length == 1;
+  }
+
+  public static String getComplexKeygenErrorMessage(String operation) {
+    return "This table uses the complex key generator with a single record "
+        + "key field. If the table is written with Hudi 0.14.1, 0.15.0, 1.0.0, 1.0.1, or 1.0.2 "
+        + "release before, the table may potentially contain duplicates due to a breaking "
+        + "change in the key encoding in the _hoodie_record_key meta field (HUDI-7001) which "
+        + "is crucial for upserts. Please take action based on the details on the deployment "
+        + "guide (https://hudi.apache.org/docs/deployment#complex-key-generator) "
+        + "before resuming the " + operation + " to the this table. If you're certain "

Review Comment:
   "the this table" -> "the table"



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3882789734

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11695",
       "triggerID" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b55ffdd5f6e250cb24b84b6af91d23daa0b6172e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11930",
       "triggerID" : "b55ffdd5f6e250cb24b84b6af91d23daa0b6172e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b55ffdd5f6e250cb24b84b6af91d23daa0b6172e Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11930) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3767981506

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b3b85019773d97f32d9dbd32e04c824a5d4beb9e Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209) 
   * e25e736125b67c9f6791415af7b8a907e45a05c0 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3755375688

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950) 
   * 503bfebbab930de8d2449f500d4f361559aec2d7 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3755995306

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 503bfebbab930de8d2449f500d4f361559aec2d7 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092) 
   * 63ca894edd0daded645ccd9b01997cd9726a8d13 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3759398528

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 388f41bb77b42613c1d6ea831a8c3dd157454da0 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120) 
   * ea8c7a16590569088b27daaa2991096c0d4c80ca Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3755556835

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 503bfebbab930de8d2449f500d4f361559aec2d7 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3768200937

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e25e736125b67c9f6791415af7b8a907e45a05c0 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "linliu-code (via GitHub)" <gi...@apache.org>.
linliu-code commented on code in PR #17834:
URL: https://github.com/apache/hudi/pull/17834#discussion_r2762093752


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/keygen/BuiltinKeyGenerator.java:
##########
@@ -233,23 +235,43 @@ private <S> S combineRecordKeyInternal(
   }
 
   private <S> S combineCompositeRecordKeyInternal(
+      boolean encodeSingleKeyFieldName,
       Supplier<PartitionPathFormatterBase.StringBuilder<S>> builderFactory,
       Function<Object, S> converter,
       Function<S, S> emptyKeyPartHandler,
       Predicate<S> isNullOrEmptyKeyPartPredicate,
       Object... recordKeyParts
   ) {
-    boolean hasNonNullNonEmptyPart = false;
+    if (recordKeyParts.length == 0) {
+      throw new HoodieKeyException(String.format("All of the values for (%s) were either null or empty", recordKeyFields));
+    }
 
     PartitionPathFormatterBase.StringBuilder<S> sb = builderFactory.get();
+
+    if (recordKeyParts.length == 1) {
+      // NOTE: If record-key part has already been a string [[toString]] will be a no-op
+      S convertedKeyPart = emptyKeyPartHandler.apply(converter.apply(recordKeyParts[0]));
+
+      if (encodeSingleKeyFieldName) {
+        sb.appendJava(recordKeyFields.get(0));
+        sb.appendJava(DEFAULT_COMPOSITE_KEY_FILED_VALUE);

Review Comment:
   nit: FILED -> FIELD



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3740015725

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c1968763ac3127c5279cec34d24ad93629c314d Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948) 
   * 906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3739989229

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c1968763ac3127c5279cec34d24ad93629c314d Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948) 
   * 906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "linliu-code (via GitHub)" <gi...@apache.org>.
linliu-code commented on code in PR #17834:
URL: https://github.com/apache/hudi/pull/17834#discussion_r2762102073


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/keygen/ComplexKeyGenerator.java:
##########
@@ -47,6 +48,7 @@ public ComplexKeyGenerator(TypedProperties props) {
         .filter(s -> !s.isEmpty())
         .collect(Collectors.toList());
     this.complexAvroKeyGenerator = new ComplexAvroKeyGenerator(props);
+    this.encodeSingleKeyFieldName = KeyGenUtils.encodeSingleKeyFieldNameForComplexKeyGen(props);

Review Comment:
   Does line 46: props.getString() throw null when `PARTITIONPATH_FIELD_NAME` is missing? If so, NPE could be thrown when accessing .split() function.



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3853275312

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212",
       "triggerID" : "e25e736125b67c9f6791415af7b8a907e45a05c0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b03e5b7df5cd065269b9ac16a8021973f36a7457",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e25e736125b67c9f6791415af7b8a907e45a05c0 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11212) 
   * b03e5b7df5cd065269b9ac16a8021973f36a7457 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan merged PR #17834:
URL: https://github.com/apache/hudi/pull/17834


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan commented on code in PR #17834:
URL: https://github.com/apache/hudi/pull/17834#discussion_r2785698033


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java:
##########
@@ -188,6 +188,37 @@ public class HoodieWriteConfig extends HoodieConfig {
           "**Note** This is being actively worked on. Please use "
               + "`hoodie.datasource.write.keygenerator.class` instead.");
 
+  public static final ConfigProperty<Boolean> COMPLEX_KEYGEN_NEW_ENCODING = ConfigProperty
+      .key("hoodie.write.complex.keygen.new.encoding")
+      .defaultValue(false)
+      .markAdvanced()
+      .sinceVersion("1.1.0")

Review Comment:
   can we fix the sinceVersion



##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java:
##########
@@ -188,6 +188,37 @@ public class HoodieWriteConfig extends HoodieConfig {
           "**Note** This is being actively worked on. Please use "
               + "`hoodie.datasource.write.keygenerator.class` instead.");
 
+  public static final ConfigProperty<Boolean> COMPLEX_KEYGEN_NEW_ENCODING = ConfigProperty
+      .key("hoodie.write.complex.keygen.new.encoding")
+      .defaultValue(false)
+      .markAdvanced()
+      .sinceVersion("1.1.0")
+      .supportedVersions("0.14.2", "0.15.1", "1.0.3")

Review Comment:
   can we fix the supported versions



##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bulk/RowDataKeyGen.java:
##########
@@ -124,6 +129,18 @@ protected RowDataKeyGen(
       this.partitionPathProjection = null;
     } else {
       this.partitionPathProjection = getProjection(this.partitionPathFields, fieldNames, fieldTypes);
+      multiplePartitions = true;
+    }
+    if (simpleRecordKey) {
+      if (multiplePartitions && !useComplexKeygenNewEncoding) {
+        // single record key with multiple partition fields
+        this.simpleRecordKeyFunc = rowData -> {
+          String oriKey = getRecordKey(recordKeyFieldGetter.getFieldOrNull(rowData), this.recordKeyFields[0], consistentLogicalTimestampEnabled);
+          return new StringBuilder(this.recordKeyFields[0]).append(DEFAULT_COMPOSITE_KEY_FIELD_VALUE).append(oriKey).toString();

Review Comment:
   is this not DEFAULT_COLUMN_VALUE_SEPARATOR ?



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/keygen/BuiltinKeyGenerator.java:
##########
@@ -220,7 +222,7 @@ private <S> S combineRecordKeyInternal(
 
     PartitionPathFormatterBase.StringBuilder<S> sb = builderFactory.get();
     for (int i = 0; i < recordKeyParts.size(); ++i) {
-      sb.appendJava(fieldNames.get(i)).appendJava(DEFAULT_COMPOSITE_KEY_FILED_VALUE);
+      sb.appendJava(fieldNames.get(i)).appendJava(DEFAULT_COMPOSITE_KEY_FIELD_VALUE);

Review Comment:
   is this not DEFAULT_COLUMN_VALUE_SEPARATOR ?
   



##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableMetaClient.java:
##########
@@ -418,40 +418,6 @@ private HoodieArchivedTimeline instantiateArchivedTimeline(String startTs) {
         : new HoodieArchivedTimeline(this, startTs);
   }
 
-  /**
-   * Validate table properties.
-   *
-   * @param properties Properties from writeConfig.
-   */
-  public void validateTableProperties(Properties properties) {

Review Comment:
   oh, we just moved from there to the other class. we are good then.



##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -1371,6 +1376,44 @@ protected void releaseResources(String instantTime) {
     // do nothing here
   }
 
+  /**
+   * Validate table properties.
+   *
+   * @param properties Properties from writeConfig.
+   */
+  public void validateTableProperties(HoodieTableConfig tableConfig, Properties properties) {
+    // Once meta fields are disabled, it cant be re-enabled for a given table.
+    if (!tableConfig.populateMetaFields()
+        && Boolean.parseBoolean((String) properties.getOrDefault(HoodieTableConfig.POPULATE_META_FIELDS.key(), HoodieTableConfig.POPULATE_META_FIELDS.defaultValue().toString()))) {
+      throw new HoodieException(HoodieTableConfig.POPULATE_META_FIELDS.key() + " already disabled for the table. Can't be re-enabled back");
+    }
+
+    // Meta fields can be disabled only when either {@code SimpleKeyGenerator}, {@code ComplexKeyGenerator}, {@code NonpartitionedKeyGenerator} is used
+    if (!tableConfig.populateMetaFields()) {
+      String keyGenClass = properties.getProperty(HoodieTableConfig.KEY_GENERATOR_CLASS_NAME.key(), "org.apache.hudi.keygen.SimpleKeyGenerator");
+      if (!keyGenClass.equals("org.apache.hudi.keygen.SimpleKeyGenerator")
+          && !keyGenClass.equals("org.apache.hudi.keygen.NonpartitionedKeyGenerator")
+          && !keyGenClass.equals("org.apache.hudi.keygen.ComplexKeyGenerator")) {
+        throw new HoodieException("Only simple, non-partitioned or complex key generator are supported when meta-fields are disabled. Used: " + keyGenClass);
+      }
+    }
+    if (config.enableComplexKeygenValidation()
+        && isComplexKeyGeneratorWithSingleRecordKeyField(tableConfig)) {
+      throw new HoodieException(getComplexKeygenErrorMessage("ingestion"));
+    }
+
+    //Check to make sure it's not a COW table with consistent hashing bucket index
+    if (tableConfig.getTableType() == HoodieTableType.COPY_ON_WRITE) {

Review Comment:
   why are we pulling in more changes. 
   https://github.com/apache/hudi/pull/13650/changes only has changes in L1400 to 1403 for this class.
   
   if we are pulling in more changes, did we CP those resp PRs? 
   if not, we might miss tests for those source code changes right. 
   



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3758475362

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 388f41bb77b42613c1d6ea831a8c3dd157454da0 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3759646525

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea8c7a16590569088b27daaa2991096c0d4c80ca Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [HUDI-9666] Fix the record key encoding with a single record key field and add a guard for complex key generator [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17834:
URL: https://github.com/apache/hudi/pull/17834#issuecomment-3767729043

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10948",
       "triggerID" : "7c1968763ac3127c5279cec34d24ad93629c314d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10950",
       "triggerID" : "906ba89a84e9c10ee3ed4e8181d45dc8d0b701a1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11092",
       "triggerID" : "503bfebbab930de8d2449f500d4f361559aec2d7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11097",
       "triggerID" : "63ca894edd0daded645ccd9b01997cd9726a8d13",
       "triggerType" : "PUSH"
     }, {
       "hash" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11120",
       "triggerID" : "388f41bb77b42613c1d6ea831a8c3dd157454da0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129",
       "triggerID" : "ea8c7a16590569088b27daaa2991096c0d4c80ca",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209",
       "triggerID" : "b3b85019773d97f32d9dbd32e04c824a5d4beb9e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea8c7a16590569088b27daaa2991096c0d4c80ca Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11129) 
   * b3b85019773d97f32d9dbd32e04c824a5d4beb9e Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=11209) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org