You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nsivabalan (via GitHub)" <gi...@apache.org> on 2025/01/15 01:02:47 UTC

[PR] [HUDI-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   ### Change Logs
   
   Unifying supported cols across col stats and partition stats index
   
   ### Impact
   
   Unifying supported cols across col stats and partition stats index
   
   ### Risk level (write none, low medium or high below)
   
   low
   
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none"._
   
   - _The config description must be updated if new configs are added or the default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
     ticket number here and follow the [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make
     changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "950155f1a01e56bc784788826e872d555d14ee63",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2920",
       "triggerID" : "950155f1a01e56bc784788826e872d555d14ee63",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 950155f1a01e56bc784788826e872d555d14ee63 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2920) 
   
   <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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7f0ce00be83a952020e63dd71d8a78daba17dded 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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   @codope : already all existing tests assert for supported types given a list of cols. TestColStatsIndex already asserts for cols indexed. when I put out the patch to make partition stats default, I plan to add more tests for partition stats in which I will be adding similar assertions 


-- 
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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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


-- 
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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850",
       "triggerID" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "triggerType" : "PUSH"
     }, {
       "hash" : "950155f1a01e56bc784788826e872d555d14ee63",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "950155f1a01e56bc784788826e872d555d14ee63",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7f0ce00be83a952020e63dd71d8a78daba17dded Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850) 
   * 950155f1a01e56bc784788826e872d555d14ee63 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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850",
       "triggerID" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "triggerType" : "PUSH"
     }, {
       "hash" : "950155f1a01e56bc784788826e872d555d14ee63",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2920",
       "triggerID" : "950155f1a01e56bc784788826e872d555d14ee63",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 950155f1a01e56bc784788826e872d555d14ee63 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2920) 
   
   <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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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


##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:
##########
@@ -378,7 +378,8 @@ public static boolean metadataPartitionExists(StoragePath basePath, HoodieEngine
   public static Map<String, HoodieData<HoodieRecord>> convertMetadataToRecords(HoodieEngineContext context, HoodieConfig hoodieConfig, HoodieCommitMetadata commitMetadata,
                                                                                String instantTime, HoodieTableMetaClient dataMetaClient, HoodieTableMetadata tableMetadata,
                                                                                HoodieMetadataConfig metadataConfig, List<MetadataPartitionType> enabledPartitionTypes, String bloomFilterType,
-                                                                               int bloomIndexParallelism, Integer writesFileIdEncoding, EngineType engineType) {
+                                                                               int bloomIndexParallelism, Integer writesFileIdEncoding, EngineType engineType,

Review Comment:
   unrelated to the patch - can we keep `writesFileIdEncoding` as primitive `int` instead of `Integer`?



-- 
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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850",
       "triggerID" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7f0ce00be83a952020e63dd71d8a78daba17dded Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850) 
   
   <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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850",
       "triggerID" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7f0ce00be83a952020e63dd71d8a78daba17dded Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850) 
   
   <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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "950155f1a01e56bc784788826e872d555d14ee63",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "950155f1a01e56bc784788826e872d555d14ee63",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 950155f1a01e56bc784788826e872d555d14ee63 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-8681] Unifying supported cols across col stats and partition stats index [hudi]

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850",
       "triggerID" : "7f0ce00be83a952020e63dd71d8a78daba17dded",
       "triggerType" : "PUSH"
     }, {
       "hash" : "950155f1a01e56bc784788826e872d555d14ee63",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2920",
       "triggerID" : "950155f1a01e56bc784788826e872d555d14ee63",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7f0ce00be83a952020e63dd71d8a78daba17dded Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2850) 
   * 950155f1a01e56bc784788826e872d555d14ee63 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=2920) 
   
   <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