You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2023/01/11 06:25:50 UTC

[GitHub] [hudi] alexeykudinkin opened a new pull request, #7642: [DNM] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   ### Change Logs
   
   This is stacked on #6782 
   
   TBA
   
   ### Impact
   
   TBA
   
   ### Risk level (write none, low medium or high below)
   
   Low
   
   ### Documentation Update
   
   N/A
   
   ### 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * 4437e6302deb849200d61526b61330e23f918162 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [DNM] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1378717025

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e87893638766ac3c545b5678393f84fe6c211358 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [DNM] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1378332715

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e87893638766ac3c545b5678393f84fe6c211358 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398001285

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14467",
       "triggerID" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * a37aa62fd9ea8d3b70a06e181237df23097d90a4 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649",
       "triggerID" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14652",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * bb20aea7ec6ae3ecef8f7d0910341ca3962f2330 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14652) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398071952

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 48c0f695a3b9aade6fc3439a8d53433019b95e89 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1397755283

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14467",
       "triggerID" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * dd82fb612d88d6c9ba4f06be2989ec5061052047 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * a4afea9412a655aee083524e56b6d75e56720bc4 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14467) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1387517260

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 17006dfd66bc82fd5fc8b77e1bde1bf622817908 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383) 
   * 832ff8001f64cc349c1a32749128ef3cba9d427a Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1387690712

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 17006dfd66bc82fd5fc8b77e1bde1bf622817908 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383) 
   * 832ff8001f64cc349c1a32749128ef3cba9d427a Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404) 
   * 2ac1a7865107e8d9f8b509957f1fcfce79c50b84 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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java:
##########
@@ -113,7 +113,7 @@ public HoodieRecord joinWith(HoodieRecord other, Schema targetSchema) {
 
   @Override
   public HoodieRecord rewriteRecord(Schema recordSchema, Properties props, Schema targetSchema) throws IOException {
-    GenericRecord record = HoodieAvroUtils.rewriteRecord((GenericRecord) data, targetSchema);
+    GenericRecord record = HoodieAvroUtils.rewriteRecordWithNewSchema(data, targetSchema);

Review Comment:
   Let's extract it to a separate PR and also create a ticket for revisiting any usage of `rewriteRecord()`.



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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -227,7 +235,11 @@ public Map<Pair<String, String>, BloomFilter> getBloomFilters(final List<Pair<St
         if (bloomFilterMetadata.isPresent()) {
           if (!bloomFilterMetadata.get().getIsDeleted()) {
             ValidationUtils.checkState(fileToKeyMap.containsKey(entry.getLeft()));
-            final ByteBuffer bloomFilterByteBuffer = bloomFilterMetadata.get().getBloomFilter();
+            // NOTE: We have to duplicate the [[ByteBuffer]] object here since:
+            //        - Reading out [[ByteBuffer]] mutates its state
+            //        - [[BloomFilterMetadata]] could be re-used, and hence have to stay immutable
+            final ByteBuffer bloomFilterByteBuffer =
+                bloomFilterMetadata.get().getBloomFilter().duplicate();

Review Comment:
   Each file has unique Bloom Filter but we're caching the records now



##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -123,8 +126,10 @@ public List<String> getAllPartitionPaths() throws IOException {
         throw new HoodieMetadataException("Failed to retrieve list of partition from metadata", e);
       }
     }
-    return new FileSystemBackedTableMetadata(getEngineContext(), hadoopConf, dataBasePath.toString(),
-        metadataConfig.shouldAssumeDatePartitioning()).getAllPartitionPaths();
+
+    FileSystemBackedTableMetadata fileSystemBackedTableMetadata =
+        createFileSystemBackedTableMetadata();
+    return fileSystemBackedTableMetadata.getAllPartitionPaths();

Review Comment:
   This changes are to avoid duplication (needed to update the way we fetch `hadoopConf`)



##########
hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieAvroFileReaderBase.java:
##########
@@ -37,7 +37,7 @@ abstract class HoodieAvroFileReaderBase implements HoodieAvroFileReader {
   @Override
   public ClosableIterator<HoodieRecord<IndexedRecord>> getRecordIterator(Schema readerSchema, Schema requestedSchema) throws IOException {
     ClosableIterator<IndexedRecord> iterator = getIndexedRecordIterator(readerSchema, requestedSchema);
-    return new MappingIterator<>(iterator, data -> unsafeCast(new HoodieAvroIndexedRecord(data)));
+    return new CloseableMappingIterator<>(iterator, data -> unsafeCast(new HoodieAvroIndexedRecord(data)));

Review Comment:
   I think i know how this crippled in. Let me clean it out



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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/bloom/HoodieBloomIndex.java:
##########
@@ -210,34 +210,35 @@ protected List<Pair<String, BloomIndexFileInfo>> loadColumnRangesFromMetaIndex(
     // also obtain file ranges, if range pruning is enabled
     context.setJobStatus(this.getClass().getName(), "Load meta index key ranges for file slices: " + config.getTableName());
 
-    final String keyField = hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();
-    return context.flatMap(partitions, partitionName -> {
-      // Partition and file name pairs
-      List<Pair<String, String>> partitionFileNameList = HoodieIndexUtils.getLatestBaseFilesForPartition(partitionName,
-              hoodieTable).stream().map(baseFile -> Pair.of(partitionName, baseFile.getFileName()))
-          .sorted()
-          .collect(toList());
-      if (partitionFileNameList.isEmpty()) {
-        return Stream.empty();
-      }
-      try {
-        Map<Pair<String, String>, HoodieMetadataColumnStats> fileToColumnStatsMap =
-            hoodieTable.getMetadataTable().getColumnStats(partitionFileNameList, keyField);
-        List<Pair<String, BloomIndexFileInfo>> result = new ArrayList<>();
-        for (Map.Entry<Pair<String, String>, HoodieMetadataColumnStats> entry : fileToColumnStatsMap.entrySet()) {
-          result.add(Pair.of(entry.getKey().getLeft(),
-              new BloomIndexFileInfo(
-                  FSUtils.getFileId(entry.getKey().getRight()),
-                  // NOTE: Here we assume that the type of the primary key field is string
-                  (String) unwrapStatisticValueWrapper(entry.getValue().getMinValue()),
-                  (String) unwrapStatisticValueWrapper(entry.getValue().getMaxValue())
-              )));
-        }
-        return result.stream();
-      } catch (MetadataNotFoundException me) {
-        throw new HoodieMetadataException("Unable to find column range metadata for partition:" + partitionName, me);
-      }
-    }, Math.max(partitions.size(), 1));
+    String keyField = hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();
+
+    // Partition and file name pairs
+    List<Pair<String, String>> partitionFileNameList =
+        HoodieIndexUtils.getLatestBaseFilesForAllPartitions(partitions, context, hoodieTable).stream()
+            .map(partitionBaseFilePair -> Pair.of(partitionBaseFilePair.getLeft(), partitionBaseFilePair.getRight().getFileName()))
+            .sorted()
+            .collect(toList());
+
+    if (partitionFileNameList.isEmpty()) {
+      return Collections.emptyList();
+    }
+
+    Map<Pair<String, String>, HoodieMetadataColumnStats> fileToColumnStatsMap =

Review Comment:
   @yihua ultimately we'd still transfer the whole table view (ie BloomIndexFileInfo) for the whole table to the driver (we're passing back the List). So there's no change in that regard



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/HoodieFileProbingFunction.java:
##########
@@ -0,0 +1,143 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.index.bloom;
+
+import org.apache.hadoop.fs.Path;
+import org.apache.hudi.client.utils.LazyIterableIterator;
+import org.apache.hudi.common.config.SerializableConfiguration;
+import org.apache.hudi.common.fs.FSUtils;
+import org.apache.hudi.common.model.HoodieBaseFile;
+import org.apache.hudi.common.model.HoodieFileGroupId;
+import org.apache.hudi.common.table.view.HoodieTableFileSystemView;
+import org.apache.hudi.common.util.Option;
+import org.apache.hudi.common.util.ValidationUtils;
+import org.apache.hudi.common.util.collection.Pair;
+import org.apache.hudi.exception.HoodieIndexException;
+import org.apache.hudi.index.HoodieIndexUtils;
+import org.apache.hudi.io.HoodieKeyLookupResult;
+import org.apache.log4j.LogManager;
+import org.apache.log4j.Logger;
+import org.apache.spark.api.java.function.FlatMapFunction;
+import org.apache.spark.broadcast.Broadcast;
+import scala.Tuple2;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+/**
+ * Implementation of the function probing filtered in candidate keys provided in
+ * {@link HoodieBloomFilterProbingResult} w/in corresponding files identified by {@link HoodieFileGroupId}
+ * to validate whether the record w/ the provided key is indeed persisted in it
+ */
+public class HoodieFileProbingFunction implements
+    FlatMapFunction<Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>>, List<HoodieKeyLookupResult>> {
+
+  private static final Logger LOG = LogManager.getLogger(HoodieFileProbingFunction.class);
+
+  // Assuming each file bloom filter takes up 512K, sizing the max file count
+  // per batch so that the total fetched bloom filters would not cross 128 MB.
+  private static final long BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH = 256;
+
+  private final Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast;
+  private final SerializableConfiguration hadoopConf;
+
+  public HoodieFileProbingFunction(Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast,
+                                   SerializableConfiguration hadoopConf) {
+    this.baseFileOnlyViewBroadcast = baseFileOnlyViewBroadcast;
+    this.hadoopConf = hadoopConf;
+  }
+
+  @Override
+  public Iterator<List<HoodieKeyLookupResult>> call(Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> tuple2Iterator) throws Exception {
+    return new BloomIndexLazyKeyCheckIterator(tuple2Iterator);
+  }
+
+  private class BloomIndexLazyKeyCheckIterator
+      extends LazyIterableIterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>, List<HoodieKeyLookupResult>> {
+
+    public BloomIndexLazyKeyCheckIterator(Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> tuple2Iterator) {
+      super(tuple2Iterator);
+    }
+
+    @Override
+    protected List<HoodieKeyLookupResult> computeNext() {
+      // Partition path and file name pair to list of keys
+      final Map<Pair<String, String>, HoodieBloomFilterProbingResult> fileToLookupResults = new HashMap<>();
+      final Map<String, HoodieBaseFile> fileIDBaseFileMap = new HashMap<>();
+
+      while (inputItr.hasNext()) {
+        Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult> entry = inputItr.next();
+        final String partitionPath = entry._1.getPartitionPath();
+        final String fileId = entry._1.getFileId();
+
+        if (!fileIDBaseFileMap.containsKey(fileId)) {
+          Option<HoodieBaseFile> baseFile =
+              baseFileOnlyViewBroadcast.getValue().getLatestBaseFile(partitionPath, fileId);
+          if (!baseFile.isPresent()) {
+            throw new HoodieIndexException("Failed to find the base file for partition: " + partitionPath
+                + ", fileId: " + fileId);
+          }
+
+          fileIDBaseFileMap.put(fileId, baseFile.get());
+        }
+
+        fileToLookupResults.putIfAbsent(Pair.of(partitionPath, fileIDBaseFileMap.get(fileId).getFileName()), entry._2);
+
+        if (fileToLookupResults.size() > BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH) {
+          break;

Review Comment:
   This is actually just clustering mechanism -- all files will be checked in the end (we will iterate t/h whole iterator)



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -66,42 +80,94 @@ public static SparkHoodieBloomIndexHelper getInstance() {
   public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecordKeys(
       HoodieWriteConfig config, HoodieEngineContext context, HoodieTable hoodieTable,
       HoodiePairData<String, String> partitionRecordKeyPairs,
-      HoodieData<Pair<String, HoodieKey>> fileComparisonPairs,
+      HoodiePairData<HoodieFileGroupId, String> fileComparisonPairs,
       Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
       Map<String, Long> recordsPerPartition) {
-    JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD =
-        HoodieJavaRDD.getJavaRDD(fileComparisonPairs)
-            .map(pair -> new Tuple2<>(pair.getLeft(), pair.getRight()));
 
     int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).partitions().size();
-    int joinParallelism = Math.max(inputParallelism, config.getBloomIndexParallelism());
-    LOG.info("InputParallelism: ${" + inputParallelism + "}, IndexParallelism: ${"
-        + config.getBloomIndexParallelism() + "}");
+    int configuredBloomIndexParallelism = config.getBloomIndexParallelism();
 
+    // NOTE: Target parallelism could be overridden by the config
+    int targetParallelism =

Review Comment:
   Correct. Previously we're taking `max(input, configured)` and there was essentially no way for user to override  it



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/AbstractIterator.java:
##########
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.index.bloom;
+
+import java.util.Iterator;
+import java.util.NoSuchElementException;
+
+/**
+ * TODO upstream

Review Comment:
   This is already addressed



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/data/HoodieJavaRDD.java:
##########
@@ -119,7 +118,16 @@ public <O> HoodieData<O> mapPartitions(SerializableFunction<Iterator<T>, Iterato
 
   @Override
   public <O> HoodieData<O> flatMap(SerializableFunction<T, Iterator<O>> func) {
-    return HoodieJavaRDD.of(rddData.flatMap(e -> func.apply(e)));
+    // NOTE: Unrolling this lambda into a method reference results in [[ClassCastException]]
+    //       due to weird interop b/w Scala and Java
+    return HoodieJavaRDD.of(rddData.flatMap(x -> func.apply(x)));
+  }

Review Comment:
   Yeah, it's weird. Let me lookup the history. According to comment this should have been a class instantiation and not lambda, but it is



##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/bloom/HoodieBloomIndex.java:
##########
@@ -289,11 +290,13 @@ HoodieData<Pair<String, HoodieKey>> explodeRecordsWithFileComparisons(
       String recordKey = partitionRecordKeyPair.getRight();
       String partitionPath = partitionRecordKeyPair.getLeft();
 
-      return indexFileFilter.getMatchingFilesAndPartition(partitionPath, recordKey).stream()
-          .map(partitionFileIdPair -> (Pair<String, HoodieKey>) new ImmutablePair<>(partitionFileIdPair.getRight(),
-              new HoodieKey(recordKey, partitionPath)))
-          .collect(Collectors.toList());
-    }).flatMap(List::iterator);
+      return indexFileFilter.getMatchingFilesAndPartition(partitionPath, recordKey)

Review Comment:
   Yes. It slightly improves canonical one as well



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/HoodieMetadataBloomFilterProbingFunction.java:
##########
@@ -0,0 +1,157 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.index.bloom;
+
+import org.apache.hudi.client.utils.LazyIterableIterator;
+import org.apache.hudi.common.bloom.BloomFilter;
+import org.apache.hudi.common.fs.FSUtils;
+import org.apache.hudi.common.model.HoodieBaseFile;
+import org.apache.hudi.common.model.HoodieFileGroupId;
+import org.apache.hudi.common.model.HoodieKey;
+import org.apache.hudi.common.table.view.HoodieTableFileSystemView;
+import org.apache.hudi.common.util.Option;
+import org.apache.hudi.common.util.ValidationUtils;
+import org.apache.hudi.common.util.collection.Pair;
+import org.apache.hudi.exception.HoodieIndexException;
+import org.apache.hudi.metadata.HoodieBackedTableMetadata;
+import org.apache.hudi.table.HoodieTable;
+import org.apache.log4j.LogManager;
+import org.apache.log4j.Logger;
+import org.apache.spark.api.java.function.PairFlatMapFunction;
+import org.apache.spark.broadcast.Broadcast;
+import scala.Tuple2;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.function.Function;
+
+/**
+ * Implementation of the function that probing Bloom Filters of individual files verifying
+ * whether particular record key could be stored in the latest file-slice of the file-group
+ * identified by the {@link HoodieFileGroupId}
+ */
+public class HoodieMetadataBloomFilterProbingFunction implements
+    PairFlatMapFunction<Iterator<Tuple2<HoodieFileGroupId, String>>, HoodieFileGroupId, HoodieBloomFilterProbingResult> {
+
+  private static final Logger LOG = LogManager.getLogger(HoodieMetadataBloomFilterProbingFunction.class);
+
+  // Assuming each file bloom filter takes up 512K, sizing the max file count
+  // per batch so that the total fetched bloom filters would not cross 128 MB.
+  private static final long BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH = 256;
+  private final HoodieTable hoodieTable;
+
+  private final Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast;
+
+  /**
+   * NOTE: It's critical for this ctor to accept {@link HoodieTable} to make sure that it uses
+   *       broadcast-ed instance of {@link HoodieBackedTableMetadata} internally, instead of
+   *       one being serialized and deserialized for _every_ task individually
+   *
+   * NOTE: We pass in broadcasted {@link HoodieTableFileSystemView} to make sure it's materialized
+   *       on executor once
+   */
+  public HoodieMetadataBloomFilterProbingFunction(Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast,
+                                                  HoodieTable hoodieTable) {
+    this.baseFileOnlyViewBroadcast = baseFileOnlyViewBroadcast;
+    this.hoodieTable = hoodieTable;
+  }
+
+  @Override
+  public Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> call(Iterator<Tuple2<HoodieFileGroupId, String>> tuple2Iterator) throws Exception {
+    return new FlattenedIterator<>(new BloomIndexLazyKeyCheckIterator(tuple2Iterator), Function.identity());
+  }
+
+  private class BloomIndexLazyKeyCheckIterator
+      extends LazyIterableIterator<Tuple2<HoodieFileGroupId, String>, Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>>> {
+
+    public BloomIndexLazyKeyCheckIterator(Iterator<Tuple2<HoodieFileGroupId, String>> tuple2Iterator) {
+      super(tuple2Iterator);
+    }
+
+    @Override
+    protected Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> computeNext() {
+      // Partition path and file name pair to list of keys
+      final Map<Pair<String, String>, List<HoodieKey>> fileToKeysMap = new HashMap<>();
+      final Map<String, HoodieBaseFile> fileIDBaseFileMap = new HashMap<>();
+
+      while (inputItr.hasNext()) {
+        Tuple2<HoodieFileGroupId, String> entry = inputItr.next();
+        String partitionPath = entry._1.getPartitionPath();
+        String fileId = entry._1.getFileId();
+
+        if (!fileIDBaseFileMap.containsKey(fileId)) {
+          Option<HoodieBaseFile> baseFile = baseFileOnlyViewBroadcast.getValue().getLatestBaseFile(partitionPath, fileId);
+          if (!baseFile.isPresent()) {
+            throw new HoodieIndexException("Failed to find the base file for partition: " + partitionPath
+                + ", fileId: " + fileId);
+          }
+          fileIDBaseFileMap.put(fileId, baseFile.get());
+        }
+
+        fileToKeysMap.computeIfAbsent(Pair.of(partitionPath, fileIDBaseFileMap.get(fileId).getFileName()),
+            k -> new ArrayList<>()).add(new HoodieKey(entry._2, partitionPath));
+
+        if (fileToKeysMap.size() > BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH) {
+          break;

Review Comment:
   Responded above



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649",
       "triggerID" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14652",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639",
       "triggerID" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5fdfcbe0eec68348530512c4ddcb2e34fd19f360 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639",
       "triggerID" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6bf773f694dcd6c7bfab6a12f0392ae0811ef415",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6bf773f694dcd6c7bfab6a12f0392ae0811ef415",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * 5fdfcbe0eec68348530512c4ddcb2e34fd19f360 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639) 
   * 6bf773f694dcd6c7bfab6a12f0392ae0811ef415 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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/bloom/HoodieBloomIndex.java:
##########
@@ -210,34 +210,35 @@ protected List<Pair<String, BloomIndexFileInfo>> loadColumnRangesFromMetaIndex(
     // also obtain file ranges, if range pruning is enabled
     context.setJobStatus(this.getClass().getName(), "Load meta index key ranges for file slices: " + config.getTableName());
 
-    final String keyField = hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();
-    return context.flatMap(partitions, partitionName -> {
-      // Partition and file name pairs
-      List<Pair<String, String>> partitionFileNameList = HoodieIndexUtils.getLatestBaseFilesForPartition(partitionName,
-              hoodieTable).stream().map(baseFile -> Pair.of(partitionName, baseFile.getFileName()))
-          .sorted()
-          .collect(toList());
-      if (partitionFileNameList.isEmpty()) {
-        return Stream.empty();
-      }
-      try {
-        Map<Pair<String, String>, HoodieMetadataColumnStats> fileToColumnStatsMap =
-            hoodieTable.getMetadataTable().getColumnStats(partitionFileNameList, keyField);
-        List<Pair<String, BloomIndexFileInfo>> result = new ArrayList<>();
-        for (Map.Entry<Pair<String, String>, HoodieMetadataColumnStats> entry : fileToColumnStatsMap.entrySet()) {
-          result.add(Pair.of(entry.getKey().getLeft(),
-              new BloomIndexFileInfo(
-                  FSUtils.getFileId(entry.getKey().getRight()),
-                  // NOTE: Here we assume that the type of the primary key field is string
-                  (String) unwrapStatisticValueWrapper(entry.getValue().getMinValue()),
-                  (String) unwrapStatisticValueWrapper(entry.getValue().getMaxValue())
-              )));
-        }
-        return result.stream();
-      } catch (MetadataNotFoundException me) {
-        throw new HoodieMetadataException("Unable to find column range metadata for partition:" + partitionName, me);
-      }
-    }, Math.max(partitions.size(), 1));
+    String keyField = hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();
+
+    // Partition and file name pairs
+    List<Pair<String, String>> partitionFileNameList =
+        HoodieIndexUtils.getLatestBaseFilesForAllPartitions(partitions, context, hoodieTable).stream()
+            .map(partitionBaseFilePair -> Pair.of(partitionBaseFilePair.getLeft(), partitionBaseFilePair.getRight().getFileName()))
+            .sorted()
+            .collect(toList());
+
+    if (partitionFileNameList.isEmpty()) {
+      return Collections.emptyList();
+    }
+
+    Map<Pair<String, String>, HoodieMetadataColumnStats> fileToColumnStatsMap =

Review Comment:
   Yeah.  I was talking more about the `HoodieMetadataColumnStats` instances from all partitions being stored in memory on the driver.  Not a major issue.



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1397954692

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14467",
       "triggerID" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * a4afea9412a655aee083524e56b6d75e56720bc4 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14467) 
   * a37aa62fd9ea8d3b70a06e181237df23097d90a4 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1397389424

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6988dfce1a01dbb2e89bffabd0d2475134015756 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419) 
   * dd82fb612d88d6c9ba4f06be2989ec5061052047 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * cb0d7dc3922d123daff61757d5c9233adc97ee5e Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559) 
   * 4437e6302deb849200d61526b61330e23f918162 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1379779115

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 094ff711d9518a04e93ab0ba28ed636827652d8c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263) 
   
   <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


[GitHub] [hudi] alexeykudinkin merged pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a37aa62fd9ea8d3b70a06e181237df23097d90a4 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486) 
   
   <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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -66,42 +82,92 @@ public static SparkHoodieBloomIndexHelper getInstance() {
   public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecordKeys(
       HoodieWriteConfig config, HoodieEngineContext context, HoodieTable hoodieTable,
       HoodiePairData<String, String> partitionRecordKeyPairs,
-      HoodieData<Pair<String, HoodieKey>> fileComparisonPairs,
+      HoodiePairData<HoodieFileGroupId, String> fileComparisonPairs,
       Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
       Map<String, Long> recordsPerPartition) {
-    JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD =
-        HoodieJavaRDD.getJavaRDD(fileComparisonPairs)
-            .map(pair -> new Tuple2<>(pair.getLeft(), pair.getRight()));
 
-    int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).partitions().size();
-    int joinParallelism = Math.max(inputParallelism, config.getBloomIndexParallelism());
-    LOG.info("InputParallelism: ${" + inputParallelism + "}, IndexParallelism: ${"
-        + config.getBloomIndexParallelism() + "}");
+    int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).getNumPartitions();
+    int configuredBloomIndexParallelism = config.getBloomIndexParallelism();
 
+    // NOTE: Target parallelism could be overridden by the config
+    int targetParallelism =
+        configuredBloomIndexParallelism > 0 ? configuredBloomIndexParallelism : inputParallelism;
+
+    LOG.info(String.format("Input parallelism: %d, Index parallelism: %d", inputParallelism, targetParallelism));
+
+    JavaPairRDD<HoodieFileGroupId, String> fileComparisonsRDD = HoodieJavaRDD.getJavaRDD(fileComparisonPairs);
     JavaRDD<List<HoodieKeyLookupResult>> keyLookupResultRDD;
+
     if (config.getBloomIndexUseMetadata()
         && hoodieTable.getMetaClient().getTableConfig().getMetadataPartitions()
         .contains(BLOOM_FILTERS.getPartitionPath())) {
-      // Step 1: Sort by file id
-      JavaRDD<Tuple2<String, HoodieKey>> sortedFileIdAndKeyPairs =
-          fileComparisonsRDD.sortBy(Tuple2::_1, true, joinParallelism);
+      SerializableConfiguration hadoopConf = new SerializableConfiguration(hoodieTable.getHadoopConf());
+
+      HoodieTableFileSystemView baseFileOnlyView =
+          getBaseFileOnlyView(hoodieTable, partitionToFileInfo.keySet());
+
+      Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast =
+          ((HoodieSparkEngineContext) context).getJavaSparkContext().broadcast(baseFileOnlyView);
+
+      // When leveraging MT we're aiming for following goals:
+      //    - (G1) All requests to MT are made in batch (ie we're trying to fetch all the values
+      //      for corresponding keys at once)
+      //    - (G2) Each task reads no more than just _one_ file-group from the MT Bloom Filters
+      //    partition
+      //
+      // Ta achieve G2, following invariant have to be maintained: Spark partitions have to be
+      // affine w/ Metadata Table's file-groups, meaning that each Spark partition holds records
+      // belonging to one and only file-group in MT Bloom Filters partition. To provide for that
+      // we need to make sure
+      //    - Spark's used [[Partitioner]] employs same hashing function as Metadata Table (as well
+      //      as being applied to the same keys as the MT one)
+      //    - Make sure that # of partitions is congruent to the # of file-groups (ie number of Spark
+      //    partitions is a multiple of the # of the file-groups).
+      //
+      //    Last provision is necessary, so that for every key it's the case that
+      //
+      //        (hash(key) % N) % M = hash(key) % M, iff N % M = 0
+      //
+      //    Let's take an example of N = 8 and M = 4 (default # of file-groups in Bloom Filter
+      //    partition). In that case Spark partitions for which `hash(key) % N` will be either 0
+      //    or 4, will map to the same (first) file-group in MT
+      int bloomFilterPartitionFileGroupCount =
+          config.getMetadataConfig().getBloomFilterIndexFileGroupCount();
+      int adjustedTargetParallelism =
+          targetParallelism % bloomFilterPartitionFileGroupCount == 0
+              ? targetParallelism
+              // NOTE: We add 1 to make sure parallelism a) value always stays positive and b)
+              //       {@code targetParallelism <= adjustedTargetParallelism}
+              : (targetParallelism / bloomFilterPartitionFileGroupCount + 1) * bloomFilterPartitionFileGroupCount;

Review Comment:
   Correct, this still has that risk. This could be controlled by Bloom Index parallelism though



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e152d87ec9ea3fcda0c0b1442462b2950b295849 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * e3e0a5d4ca12224814508bf64055d0f621dacb25 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639",
       "triggerID" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6bf773f694dcd6c7bfab6a12f0392ae0811ef415",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6bf773f694dcd6c7bfab6a12f0392ae0811ef415",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f8e0d62862eea5f4b2c50d37432b6226450146e5",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "f8e0d62862eea5f4b2c50d37432b6226450146e5",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * 5fdfcbe0eec68348530512c4ddcb2e34fd19f360 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639) 
   * 6bf773f694dcd6c7bfab6a12f0392ae0811ef415 UNKNOWN
   * f8e0d62862eea5f4b2c50d37432b6226450146e5 UNKNOWN
   * bb20aea7ec6ae3ecef8f7d0910341ca3962f2330 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * cf81675f497a631e9adcb600ac4b8bd3eb509479 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533) 
   * cb0d7dc3922d123daff61757d5c9233adc97ee5e Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559) 
   
   <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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -66,42 +80,94 @@ public static SparkHoodieBloomIndexHelper getInstance() {
   public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecordKeys(
       HoodieWriteConfig config, HoodieEngineContext context, HoodieTable hoodieTable,
       HoodiePairData<String, String> partitionRecordKeyPairs,
-      HoodieData<Pair<String, HoodieKey>> fileComparisonPairs,
+      HoodiePairData<HoodieFileGroupId, String> fileComparisonPairs,
       Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
       Map<String, Long> recordsPerPartition) {
-    JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD =
-        HoodieJavaRDD.getJavaRDD(fileComparisonPairs)
-            .map(pair -> new Tuple2<>(pair.getLeft(), pair.getRight()));
 
     int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).partitions().size();
-    int joinParallelism = Math.max(inputParallelism, config.getBloomIndexParallelism());
-    LOG.info("InputParallelism: ${" + inputParallelism + "}, IndexParallelism: ${"
-        + config.getBloomIndexParallelism() + "}");
+    int configuredBloomIndexParallelism = config.getBloomIndexParallelism();
 
+    // NOTE: Target parallelism could be overridden by the config
+    int targetParallelism =
+        configuredBloomIndexParallelism > 0 ? configuredBloomIndexParallelism : inputParallelism;
+
+    LOG.info(String.format("Input parallelism: %d, Index parallelism: %d", inputParallelism, targetParallelism));
+
+    JavaPairRDD<HoodieFileGroupId, String> fileComparisonsRDD = HoodieJavaRDD.getJavaRDD(fileComparisonPairs);
     JavaRDD<List<HoodieKeyLookupResult>> keyLookupResultRDD;
+
     if (config.getBloomIndexUseMetadata()
         && hoodieTable.getMetaClient().getTableConfig().getMetadataPartitions()
         .contains(BLOOM_FILTERS.getPartitionPath())) {
-      // Step 1: Sort by file id
-      JavaRDD<Tuple2<String, HoodieKey>> sortedFileIdAndKeyPairs =
-          fileComparisonsRDD.sortBy(Tuple2::_1, true, joinParallelism);
+      SerializableConfiguration hadoopConf = new SerializableConfiguration(hoodieTable.getHadoopConf());
+
+      HoodieTableFileSystemView baseFileOnlyView =
+          getBaseFileOnlyView(hoodieTable, partitionToFileInfo.keySet());
+
+      Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast =
+          ((HoodieSparkEngineContext) context).getJavaSparkContext().broadcast(baseFileOnlyView);
+
+      // When leveraging MT we're aiming for following goals:
+      //    - (G1) All requests to MT are made in batch (ie we're trying to fetch all the values
+      //      for corresponding keys at once)
+      //    - (G2) Each task reads no more than just _one_ file-group from the MT Bloom Filters
+      //    partition
+      //
+      // Ta achieve G2, following invariant have to be maintained: Spark partitions have to be
+      // affine w/ Metadata Table's file-groups, meaning that each Spark partition holds records
+      // belonging to one and only file-group in MT Bloom Filters partition. To provide for that
+      // we need to make sure
+      //    - Spark's used [[Partitioner]] employs same hashing function as Metadata Table (as well
+      //      as being applied to the same keys as the MT one)
+      //    - Make sure that # of partitions is congruent to the # of file-groups (ie number of Spark
+      //    partitions is a multiple of the # of the file-groups).
+      //
+      //    Last provision is necessary, so that for every key it's the case that
+      //
+      //        (hash(key) % N) % M = hash(key) % M, iff N % M = 0
+      //
+      //    Let's take an example of N = 8 and M = 4 (default # of file-groups in Bloom Filter
+      //    partition). In that case Spark partitions for which `hash(key) % N` will be either 0
+      //    or 4, will map to the same (first) file-group in MT
+      //
+      // To achieve G1, we drastically reduce # of RDD partitions actually reading from MT, by
+      // setting target parallelism as a (low-factor) multiple of the # of the file-groups in MT
+      int targetMetadataParallelism =
+          config.getMetadataConfig().getBloomFilterIndexFileGroupCount() * config.getBloomIndexMetadataFetchingParallelismFactor();
+
+      AffineBloomIndexFileGroupPartitioner partitioner =
+          new AffineBloomIndexFileGroupPartitioner(baseFileOnlyViewBroadcast, targetMetadataParallelism);
+
+      keyLookupResultRDD =
+          // First, we need to repartition and sort records using [[AffineBloomIndexFileGroupPartitioner]]
+          // to make sure every Spark task accesses no more than just a single file-group in MT (allows
+          // us to achieve G2).
+          //
+          // NOTE: Sorting records w/in individual partitions is required to make sure that we cluster
+          //       together keys co-located w/in the MT files (sorted by keys)
+          fileComparisonsRDD.repartitionAndSortWithinPartitions(partitioner)

Review Comment:
   While the repartition is required for routing the partition and file ID pairs of the same bloom_filter file group to the same Spark partition, there is no need to sort within Spark partition, as the ordering has to be based on the bloom filter index key, instead of the partition and file ID pair here.  And the sorting of bloom filter index keys already done before actual lookup in the metadata table.



##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java:
##########
@@ -113,7 +113,7 @@ public HoodieRecord joinWith(HoodieRecord other, Schema targetSchema) {
 
   @Override
   public HoodieRecord rewriteRecord(Schema recordSchema, Properties props, Schema targetSchema) throws IOException {
-    GenericRecord record = HoodieAvroUtils.rewriteRecord((GenericRecord) data, targetSchema);
+    GenericRecord record = HoodieAvroUtils.rewriteRecordWithNewSchema(data, targetSchema);

Review Comment:
   Could you avoid this irrelevant change in the PR?  (Let's do it in a separate PR if needed)



##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/AbstractHoodieLogRecordReader.java:
##########
@@ -807,16 +809,17 @@ private ClosableIteratorWithSchema<HoodieRecord> getRecordsIterator(
 
     Option<Pair<Function<HoodieRecord, HoodieRecord>, Schema>> schemaEvolutionTransformerOpt =
         composeEvolvedSchemaTransformer(dataBlock);
+
     // In case when schema has been evolved original persisted records will have to be
     // transformed to adhere to the new schema
-    if (schemaEvolutionTransformerOpt.isPresent()) {
-      return ClosableIteratorWithSchema.newInstance(
-          new CloseableMappingIterator<>(blockRecordsIterator,
-              schemaEvolutionTransformerOpt.get().getLeft()),
-          schemaEvolutionTransformerOpt.get().getRight());
-    } else {
-      return ClosableIteratorWithSchema.newInstance(blockRecordsIterator, dataBlock.getSchema());
-    }
+    Function<HoodieRecord, HoodieRecord> transformer =

Review Comment:
   Similar here for irrelevant changes.



##########
hudi-common/src/main/java/org/apache/hudi/common/data/HoodieData.java:
##########
@@ -117,6 +117,11 @@ <O> HoodieData<O> mapPartitions(SerializableFunction<Iterator<T>,
    */
   <O> HoodieData<O> flatMap(SerializableFunction<T, Iterator<O>> func);
 
+  /**
+   * TODO java-doc

Review Comment:
   reminder on the javadocs



##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -73,11 +73,12 @@ public abstract class BaseTableMetadata implements HoodieTableMetadata {
 
   private static final Logger LOG = LogManager.getLogger(BaseTableMetadata.class);
 
-  public static final long MAX_MEMORY_SIZE_IN_BYTES = 1024 * 1024 * 1024;
-  public static final int BUFFER_SIZE = 10 * 1024 * 1024;
+  protected static final long MAX_MEMORY_SIZE_IN_BYTES = 1024 * 1024 * 1024;
+  // NOTE: Buffer-size is deliberately set pretty low, since MT internally is relying
+  //       on HFile (serving as persisted binary key-value mapping) to do caching
+  protected static final int BUFFER_SIZE = 10 * 1024; // 10Kb

Review Comment:
   Do you run any micro-benchmark to make sure there is no materialized change?



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639",
       "triggerID" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * 4437e6302deb849200d61526b61330e23f918162 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608) 
   * 5fdfcbe0eec68348530512c4ddcb2e34fd19f360 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639) 
   
   <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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -66,42 +80,94 @@ public static SparkHoodieBloomIndexHelper getInstance() {
   public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecordKeys(
       HoodieWriteConfig config, HoodieEngineContext context, HoodieTable hoodieTable,
       HoodiePairData<String, String> partitionRecordKeyPairs,
-      HoodieData<Pair<String, HoodieKey>> fileComparisonPairs,
+      HoodiePairData<HoodieFileGroupId, String> fileComparisonPairs,
       Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
       Map<String, Long> recordsPerPartition) {
-    JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD =
-        HoodieJavaRDD.getJavaRDD(fileComparisonPairs)
-            .map(pair -> new Tuple2<>(pair.getLeft(), pair.getRight()));
 
     int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).partitions().size();
-    int joinParallelism = Math.max(inputParallelism, config.getBloomIndexParallelism());
-    LOG.info("InputParallelism: ${" + inputParallelism + "}, IndexParallelism: ${"
-        + config.getBloomIndexParallelism() + "}");
+    int configuredBloomIndexParallelism = config.getBloomIndexParallelism();
 
+    // NOTE: Target parallelism could be overridden by the config
+    int targetParallelism =
+        configuredBloomIndexParallelism > 0 ? configuredBloomIndexParallelism : inputParallelism;
+
+    LOG.info(String.format("Input parallelism: %d, Index parallelism: %d", inputParallelism, targetParallelism));
+
+    JavaPairRDD<HoodieFileGroupId, String> fileComparisonsRDD = HoodieJavaRDD.getJavaRDD(fileComparisonPairs);
     JavaRDD<List<HoodieKeyLookupResult>> keyLookupResultRDD;
+
     if (config.getBloomIndexUseMetadata()
         && hoodieTable.getMetaClient().getTableConfig().getMetadataPartitions()
         .contains(BLOOM_FILTERS.getPartitionPath())) {
-      // Step 1: Sort by file id
-      JavaRDD<Tuple2<String, HoodieKey>> sortedFileIdAndKeyPairs =
-          fileComparisonsRDD.sortBy(Tuple2::_1, true, joinParallelism);
+      SerializableConfiguration hadoopConf = new SerializableConfiguration(hoodieTable.getHadoopConf());
+
+      HoodieTableFileSystemView baseFileOnlyView =
+          getBaseFileOnlyView(hoodieTable, partitionToFileInfo.keySet());
+
+      Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast =
+          ((HoodieSparkEngineContext) context).getJavaSparkContext().broadcast(baseFileOnlyView);
+
+      // When leveraging MT we're aiming for following goals:
+      //    - (G1) All requests to MT are made in batch (ie we're trying to fetch all the values
+      //      for corresponding keys at once)
+      //    - (G2) Each task reads no more than just _one_ file-group from the MT Bloom Filters
+      //    partition
+      //
+      // Ta achieve G2, following invariant have to be maintained: Spark partitions have to be
+      // affine w/ Metadata Table's file-groups, meaning that each Spark partition holds records
+      // belonging to one and only file-group in MT Bloom Filters partition. To provide for that
+      // we need to make sure
+      //    - Spark's used [[Partitioner]] employs same hashing function as Metadata Table (as well
+      //      as being applied to the same keys as the MT one)
+      //    - Make sure that # of partitions is congruent to the # of file-groups (ie number of Spark
+      //    partitions is a multiple of the # of the file-groups).
+      //
+      //    Last provision is necessary, so that for every key it's the case that
+      //
+      //        (hash(key) % N) % M = hash(key) % M, iff N % M = 0
+      //
+      //    Let's take an example of N = 8 and M = 4 (default # of file-groups in Bloom Filter
+      //    partition). In that case Spark partitions for which `hash(key) % N` will be either 0
+      //    or 4, will map to the same (first) file-group in MT
+      //
+      // To achieve G1, we drastically reduce # of RDD partitions actually reading from MT, by
+      // setting target parallelism as a (low-factor) multiple of the # of the file-groups in MT
+      int targetMetadataParallelism =
+          config.getMetadataConfig().getBloomFilterIndexFileGroupCount() * config.getBloomIndexMetadataFetchingParallelismFactor();
+
+      AffineBloomIndexFileGroupPartitioner partitioner =
+          new AffineBloomIndexFileGroupPartitioner(baseFileOnlyViewBroadcast, targetMetadataParallelism);
+
+      keyLookupResultRDD =
+          // First, we need to repartition and sort records using [[AffineBloomIndexFileGroupPartitioner]]
+          // to make sure every Spark task accesses no more than just a single file-group in MT (allows
+          // us to achieve G2).
+          //
+          // NOTE: Sorting records w/in individual partitions is required to make sure that we cluster
+          //       together keys co-located w/in the MT files (sorted by keys)
+          fileComparisonsRDD.repartitionAndSortWithinPartitions(partitioner)

Review Comment:
   Got it.  Basically, `fileComparisonsRDD` contains entries with the same file IDs and different record keys.  We want to cluster the entries with the same file IDs together.  The ordering between different file IDs does not really matter here. 



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639",
       "triggerID" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * 5fdfcbe0eec68348530512c4ddcb2e34fd19f360 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1386443421

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 094ff711d9518a04e93ab0ba28ed636827652d8c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263) 
   * 01697615c3d88afaa15a59cad6d0c5548b295253 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * de6ce712cc12145040d3fc4f9772e786c29fa7bd Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e152d87ec9ea3fcda0c0b1442462b2950b295849 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * e3e0a5d4ca12224814508bf64055d0f621dacb25 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * e3e0a5d4ca12224814508bf64055d0f621dacb25 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528) 
   * cf81675f497a631e9adcb600ac4b8bd3eb509479 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * e3e0a5d4ca12224814508bf64055d0f621dacb25 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528) 
   * cf81675f497a631e9adcb600ac4b8bd3eb509479 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1396200083

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 832ff8001f64cc349c1a32749128ef3cba9d427a Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404) 
   * 2ac1a7865107e8d9f8b509957f1fcfce79c50b84 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410) 
   * 6988dfce1a01dbb2e89bffabd0d2475134015756 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1396562097

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6988dfce1a01dbb2e89bffabd0d2475134015756 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419) 
   * dd82fb612d88d6c9ba4f06be2989ec5061052047 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1397700970

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * dd82fb612d88d6c9ba4f06be2989ec5061052047 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * a4afea9412a655aee083524e56b6d75e56720bc4 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1387707427

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 832ff8001f64cc349c1a32749128ef3cba9d427a Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404) 
   * 2ac1a7865107e8d9f8b509957f1fcfce79c50b84 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1396205486

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2ac1a7865107e8d9f8b509957f1fcfce79c50b84 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410) 
   * 6988dfce1a01dbb2e89bffabd0d2475134015756 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1396548870

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6988dfce1a01dbb2e89bffabd0d2475134015756 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1386642528

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 01697615c3d88afaa15a59cad6d0c5548b295253 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377) 
   * 17006dfd66bc82fd5fc8b77e1bde1bf622817908 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1386860784

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 17006dfd66bc82fd5fc8b77e1bde1bf622817908 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * cb0d7dc3922d123daff61757d5c9233adc97ee5e Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559) 
   * 4437e6302deb849200d61526b61330e23f918162 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639",
       "triggerID" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6bf773f694dcd6c7bfab6a12f0392ae0811ef415",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6bf773f694dcd6c7bfab6a12f0392ae0811ef415",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f8e0d62862eea5f4b2c50d37432b6226450146e5",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "f8e0d62862eea5f4b2c50d37432b6226450146e5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * 5fdfcbe0eec68348530512c4ddcb2e34fd19f360 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14639) 
   * 6bf773f694dcd6c7bfab6a12f0392ae0811ef415 UNKNOWN
   * f8e0d62862eea5f4b2c50d37432b6226450146e5 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649",
       "triggerID" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14652",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * bb20aea7ec6ae3ecef8f7d0910341ca3962f2330 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14652) Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649) 
   * 5fdfcbe0eec68348530512c4ddcb2e34fd19f360 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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -227,7 +235,11 @@ public Map<Pair<String, String>, BloomFilter> getBloomFilters(final List<Pair<St
         if (bloomFilterMetadata.isPresent()) {
           if (!bloomFilterMetadata.get().getIsDeleted()) {
             ValidationUtils.checkState(fileToKeyMap.containsKey(entry.getLeft()));
-            final ByteBuffer bloomFilterByteBuffer = bloomFilterMetadata.get().getBloomFilter();
+            // NOTE: We have to duplicate the [[ByteBuffer]] object here since:
+            //        - Reading out [[ByteBuffer]] mutates its state
+            //        - [[BloomFilterMetadata]] could be re-used, and hence have to stay immutable
+            final ByteBuffer bloomFilterByteBuffer =
+                bloomFilterMetadata.get().getBloomFilter().duplicate();

Review Comment:
   Supposedly each file has its unique bloom filter.  Why could it be reused somehow?



##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -123,8 +126,10 @@ public List<String> getAllPartitionPaths() throws IOException {
         throw new HoodieMetadataException("Failed to retrieve list of partition from metadata", e);
       }
     }
-    return new FileSystemBackedTableMetadata(getEngineContext(), hadoopConf, dataBasePath.toString(),
-        metadataConfig.shouldAssumeDatePartitioning()).getAllPartitionPaths();
+
+    FileSystemBackedTableMetadata fileSystemBackedTableMetadata =
+        createFileSystemBackedTableMetadata();
+    return fileSystemBackedTableMetadata.getAllPartitionPaths();

Review Comment:
   these changes seem not notable.



##########
hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieAvroFileReaderBase.java:
##########
@@ -37,7 +37,7 @@ abstract class HoodieAvroFileReaderBase implements HoodieAvroFileReader {
   @Override
   public ClosableIterator<HoodieRecord<IndexedRecord>> getRecordIterator(Schema readerSchema, Schema requestedSchema) throws IOException {
     ClosableIterator<IndexedRecord> iterator = getIndexedRecordIterator(readerSchema, requestedSchema);
-    return new MappingIterator<>(iterator, data -> unsafeCast(new HoodieAvroIndexedRecord(data)));
+    return new CloseableMappingIterator<>(iterator, data -> unsafeCast(new HoodieAvroIndexedRecord(data)));

Review Comment:
   Can we move these changes not related to Bloom Index into a separate PR?



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398346271

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 48c0f695a3b9aade6fc3439a8d53433019b95e89 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494) Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a37aa62fd9ea8d3b70a06e181237df23097d90a4 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486) 
   * e152d87ec9ea3fcda0c0b1442462b2950b295849 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [DNM] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1378339111

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e87893638766ac3c545b5678393f84fe6c211358 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1379671520

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a53521b0d61bcf42868abda32f665868a256b571 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259) 
   * 094ff711d9518a04e93ab0ba28ed636827652d8c Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a37aa62fd9ea8d3b70a06e181237df23097d90a4 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486) 
   * e152d87ec9ea3fcda0c0b1442462b2950b295849 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1387505059

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 17006dfd66bc82fd5fc8b77e1bde1bf622817908 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383) 
   * 832ff8001f64cc349c1a32749128ef3cba9d427a 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398007081

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14467",
       "triggerID" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * a37aa62fd9ea8d3b70a06e181237df23097d90a4 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486) 
   * 48c0f695a3b9aade6fc3439a8d53433019b95e89 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


[GitHub] [hudi] alexeykudinkin commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
alexeykudinkin commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398007962

   @hudi-bot run azure


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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1386491820

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 01697615c3d88afaa15a59cad6d0c5548b295253 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1386439125

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 094ff711d9518a04e93ab0ba28ed636827652d8c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263) 
   * 01697615c3d88afaa15a59cad6d0c5548b295253 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1396555831

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6988dfce1a01dbb2e89bffabd0d2475134015756 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419) 
   * dd82fb612d88d6c9ba4f06be2989ec5061052047 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398738476

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 48c0f695a3b9aade6fc3439a8d53433019b95e89 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494) Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490) 
   * de6ce712cc12145040d3fc4f9772e786c29fa7bd Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505) 
   
   <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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/bloom/HoodieBloomIndex.java:
##########
@@ -210,34 +210,35 @@ protected List<Pair<String, BloomIndexFileInfo>> loadColumnRangesFromMetaIndex(
     // also obtain file ranges, if range pruning is enabled
     context.setJobStatus(this.getClass().getName(), "Load meta index key ranges for file slices: " + config.getTableName());
 
-    final String keyField = hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();
-    return context.flatMap(partitions, partitionName -> {
-      // Partition and file name pairs
-      List<Pair<String, String>> partitionFileNameList = HoodieIndexUtils.getLatestBaseFilesForPartition(partitionName,
-              hoodieTable).stream().map(baseFile -> Pair.of(partitionName, baseFile.getFileName()))
-          .sorted()
-          .collect(toList());
-      if (partitionFileNameList.isEmpty()) {
-        return Stream.empty();
-      }
-      try {
-        Map<Pair<String, String>, HoodieMetadataColumnStats> fileToColumnStatsMap =
-            hoodieTable.getMetadataTable().getColumnStats(partitionFileNameList, keyField);
-        List<Pair<String, BloomIndexFileInfo>> result = new ArrayList<>();
-        for (Map.Entry<Pair<String, String>, HoodieMetadataColumnStats> entry : fileToColumnStatsMap.entrySet()) {
-          result.add(Pair.of(entry.getKey().getLeft(),
-              new BloomIndexFileInfo(
-                  FSUtils.getFileId(entry.getKey().getRight()),
-                  // NOTE: Here we assume that the type of the primary key field is string
-                  (String) unwrapStatisticValueWrapper(entry.getValue().getMinValue()),
-                  (String) unwrapStatisticValueWrapper(entry.getValue().getMaxValue())
-              )));
-        }
-        return result.stream();
-      } catch (MetadataNotFoundException me) {
-        throw new HoodieMetadataException("Unable to find column range metadata for partition:" + partitionName, me);
-      }
-    }, Math.max(partitions.size(), 1));
+    String keyField = hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();
+
+    // Partition and file name pairs
+    List<Pair<String, String>> partitionFileNameList =
+        HoodieIndexUtils.getLatestBaseFilesForAllPartitions(partitions, context, hoodieTable).stream()
+            .map(partitionBaseFilePair -> Pair.of(partitionBaseFilePair.getLeft(), partitionBaseFilePair.getRight().getFileName()))
+            .sorted()
+            .collect(toList());
+
+    if (partitionFileNameList.isEmpty()) {
+      return Collections.emptyList();
+    }
+
+    Map<Pair<String, String>, HoodieMetadataColumnStats> fileToColumnStatsMap =

Review Comment:
   One note here is that this is now storing column stats of the key field of all files in memory on the driver, which can be slightly larger than the returned list.  Previously the column stats of the key field of files in one partition are stored on the executor side.  Might not be an issue though. 



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/AbstractIterator.java:
##########
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.index.bloom;
+
+import java.util.Iterator;
+import java.util.NoSuchElementException;
+
+/**
+ * TODO upstream

Review Comment:
   nit: fix the docs



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/HoodieFileProbingFunction.java:
##########
@@ -0,0 +1,143 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.index.bloom;
+
+import org.apache.hadoop.fs.Path;
+import org.apache.hudi.client.utils.LazyIterableIterator;
+import org.apache.hudi.common.config.SerializableConfiguration;
+import org.apache.hudi.common.fs.FSUtils;
+import org.apache.hudi.common.model.HoodieBaseFile;
+import org.apache.hudi.common.model.HoodieFileGroupId;
+import org.apache.hudi.common.table.view.HoodieTableFileSystemView;
+import org.apache.hudi.common.util.Option;
+import org.apache.hudi.common.util.ValidationUtils;
+import org.apache.hudi.common.util.collection.Pair;
+import org.apache.hudi.exception.HoodieIndexException;
+import org.apache.hudi.index.HoodieIndexUtils;
+import org.apache.hudi.io.HoodieKeyLookupResult;
+import org.apache.log4j.LogManager;
+import org.apache.log4j.Logger;
+import org.apache.spark.api.java.function.FlatMapFunction;
+import org.apache.spark.broadcast.Broadcast;
+import scala.Tuple2;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+/**
+ * Implementation of the function probing filtered in candidate keys provided in
+ * {@link HoodieBloomFilterProbingResult} w/in corresponding files identified by {@link HoodieFileGroupId}
+ * to validate whether the record w/ the provided key is indeed persisted in it
+ */
+public class HoodieFileProbingFunction implements
+    FlatMapFunction<Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>>, List<HoodieKeyLookupResult>> {
+
+  private static final Logger LOG = LogManager.getLogger(HoodieFileProbingFunction.class);
+
+  // Assuming each file bloom filter takes up 512K, sizing the max file count
+  // per batch so that the total fetched bloom filters would not cross 128 MB.
+  private static final long BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH = 256;
+
+  private final Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast;
+  private final SerializableConfiguration hadoopConf;
+
+  public HoodieFileProbingFunction(Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast,
+                                   SerializableConfiguration hadoopConf) {
+    this.baseFileOnlyViewBroadcast = baseFileOnlyViewBroadcast;
+    this.hadoopConf = hadoopConf;
+  }
+
+  @Override
+  public Iterator<List<HoodieKeyLookupResult>> call(Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> tuple2Iterator) throws Exception {
+    return new BloomIndexLazyKeyCheckIterator(tuple2Iterator);
+  }
+
+  private class BloomIndexLazyKeyCheckIterator
+      extends LazyIterableIterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>, List<HoodieKeyLookupResult>> {
+
+    public BloomIndexLazyKeyCheckIterator(Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> tuple2Iterator) {
+      super(tuple2Iterator);
+    }
+
+    @Override
+    protected List<HoodieKeyLookupResult> computeNext() {
+      // Partition path and file name pair to list of keys
+      final Map<Pair<String, String>, HoodieBloomFilterProbingResult> fileToLookupResults = new HashMap<>();
+      final Map<String, HoodieBaseFile> fileIDBaseFileMap = new HashMap<>();
+
+      while (inputItr.hasNext()) {
+        Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult> entry = inputItr.next();
+        final String partitionPath = entry._1.getPartitionPath();
+        final String fileId = entry._1.getFileId();
+
+        if (!fileIDBaseFileMap.containsKey(fileId)) {
+          Option<HoodieBaseFile> baseFile =
+              baseFileOnlyViewBroadcast.getValue().getLatestBaseFile(partitionPath, fileId);
+          if (!baseFile.isPresent()) {
+            throw new HoodieIndexException("Failed to find the base file for partition: " + partitionPath
+                + ", fileId: " + fileId);
+          }
+
+          fileIDBaseFileMap.put(fileId, baseFile.get());
+        }
+
+        fileToLookupResults.putIfAbsent(Pair.of(partitionPath, fileIDBaseFileMap.get(fileId).getFileName()), entry._2);
+
+        if (fileToLookupResults.size() > BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH) {
+          break;

Review Comment:
   Should an exception be thrown here to indicate that not all files are checked?



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -66,42 +80,94 @@ public static SparkHoodieBloomIndexHelper getInstance() {
   public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecordKeys(
       HoodieWriteConfig config, HoodieEngineContext context, HoodieTable hoodieTable,
       HoodiePairData<String, String> partitionRecordKeyPairs,
-      HoodieData<Pair<String, HoodieKey>> fileComparisonPairs,
+      HoodiePairData<HoodieFileGroupId, String> fileComparisonPairs,
       Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
       Map<String, Long> recordsPerPartition) {
-    JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD =
-        HoodieJavaRDD.getJavaRDD(fileComparisonPairs)
-            .map(pair -> new Tuple2<>(pair.getLeft(), pair.getRight()));
 
     int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).partitions().size();
-    int joinParallelism = Math.max(inputParallelism, config.getBloomIndexParallelism());
-    LOG.info("InputParallelism: ${" + inputParallelism + "}, IndexParallelism: ${"
-        + config.getBloomIndexParallelism() + "}");
+    int configuredBloomIndexParallelism = config.getBloomIndexParallelism();
 
+    // NOTE: Target parallelism could be overridden by the config
+    int targetParallelism =

Review Comment:
   note to myself: if the configured bloom index parallelism is smaller than the input parallelism, before this PR, we take the input parallelism; now, we take the configured bloom index parallelism.



##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/bloom/HoodieBloomIndex.java:
##########
@@ -289,11 +290,13 @@ HoodieData<Pair<String, HoodieKey>> explodeRecordsWithFileComparisons(
       String recordKey = partitionRecordKeyPair.getRight();
       String partitionPath = partitionRecordKeyPair.getLeft();
 
-      return indexFileFilter.getMatchingFilesAndPartition(partitionPath, recordKey).stream()
-          .map(partitionFileIdPair -> (Pair<String, HoodieKey>) new ImmutablePair<>(partitionFileIdPair.getRight(),
-              new HoodieKey(recordKey, partitionPath)))
-          .collect(Collectors.toList());
-    }).flatMap(List::iterator);
+      return indexFileFilter.getMatchingFilesAndPartition(partitionPath, recordKey)

Review Comment:
   This affects the existing code path for Bloom Index without using the metadata table.  @alexeykudinkin have you compared the performance of Bloom Index vs master or 0.12.2 when the metadata table is not used for fetching bloom filters?



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/HoodieMetadataBloomFilterProbingFunction.java:
##########
@@ -0,0 +1,157 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.index.bloom;
+
+import org.apache.hudi.client.utils.LazyIterableIterator;
+import org.apache.hudi.common.bloom.BloomFilter;
+import org.apache.hudi.common.fs.FSUtils;
+import org.apache.hudi.common.model.HoodieBaseFile;
+import org.apache.hudi.common.model.HoodieFileGroupId;
+import org.apache.hudi.common.model.HoodieKey;
+import org.apache.hudi.common.table.view.HoodieTableFileSystemView;
+import org.apache.hudi.common.util.Option;
+import org.apache.hudi.common.util.ValidationUtils;
+import org.apache.hudi.common.util.collection.Pair;
+import org.apache.hudi.exception.HoodieIndexException;
+import org.apache.hudi.metadata.HoodieBackedTableMetadata;
+import org.apache.hudi.table.HoodieTable;
+import org.apache.log4j.LogManager;
+import org.apache.log4j.Logger;
+import org.apache.spark.api.java.function.PairFlatMapFunction;
+import org.apache.spark.broadcast.Broadcast;
+import scala.Tuple2;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.function.Function;
+
+/**
+ * Implementation of the function that probing Bloom Filters of individual files verifying
+ * whether particular record key could be stored in the latest file-slice of the file-group
+ * identified by the {@link HoodieFileGroupId}
+ */
+public class HoodieMetadataBloomFilterProbingFunction implements
+    PairFlatMapFunction<Iterator<Tuple2<HoodieFileGroupId, String>>, HoodieFileGroupId, HoodieBloomFilterProbingResult> {
+
+  private static final Logger LOG = LogManager.getLogger(HoodieMetadataBloomFilterProbingFunction.class);
+
+  // Assuming each file bloom filter takes up 512K, sizing the max file count
+  // per batch so that the total fetched bloom filters would not cross 128 MB.
+  private static final long BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH = 256;
+  private final HoodieTable hoodieTable;
+
+  private final Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast;
+
+  /**
+   * NOTE: It's critical for this ctor to accept {@link HoodieTable} to make sure that it uses
+   *       broadcast-ed instance of {@link HoodieBackedTableMetadata} internally, instead of
+   *       one being serialized and deserialized for _every_ task individually
+   *
+   * NOTE: We pass in broadcasted {@link HoodieTableFileSystemView} to make sure it's materialized
+   *       on executor once
+   */
+  public HoodieMetadataBloomFilterProbingFunction(Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast,
+                                                  HoodieTable hoodieTable) {
+    this.baseFileOnlyViewBroadcast = baseFileOnlyViewBroadcast;
+    this.hoodieTable = hoodieTable;
+  }
+
+  @Override
+  public Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> call(Iterator<Tuple2<HoodieFileGroupId, String>> tuple2Iterator) throws Exception {
+    return new FlattenedIterator<>(new BloomIndexLazyKeyCheckIterator(tuple2Iterator), Function.identity());
+  }
+
+  private class BloomIndexLazyKeyCheckIterator
+      extends LazyIterableIterator<Tuple2<HoodieFileGroupId, String>, Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>>> {
+
+    public BloomIndexLazyKeyCheckIterator(Iterator<Tuple2<HoodieFileGroupId, String>> tuple2Iterator) {
+      super(tuple2Iterator);
+    }
+
+    @Override
+    protected Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> computeNext() {
+      // Partition path and file name pair to list of keys
+      final Map<Pair<String, String>, List<HoodieKey>> fileToKeysMap = new HashMap<>();
+      final Map<String, HoodieBaseFile> fileIDBaseFileMap = new HashMap<>();
+
+      while (inputItr.hasNext()) {
+        Tuple2<HoodieFileGroupId, String> entry = inputItr.next();
+        String partitionPath = entry._1.getPartitionPath();
+        String fileId = entry._1.getFileId();
+
+        if (!fileIDBaseFileMap.containsKey(fileId)) {
+          Option<HoodieBaseFile> baseFile = baseFileOnlyViewBroadcast.getValue().getLatestBaseFile(partitionPath, fileId);
+          if (!baseFile.isPresent()) {
+            throw new HoodieIndexException("Failed to find the base file for partition: " + partitionPath
+                + ", fileId: " + fileId);
+          }
+          fileIDBaseFileMap.put(fileId, baseFile.get());
+        }
+
+        fileToKeysMap.computeIfAbsent(Pair.of(partitionPath, fileIDBaseFileMap.get(fileId).getFileName()),
+            k -> new ArrayList<>()).add(new HoodieKey(entry._2, partitionPath));
+
+        if (fileToKeysMap.size() > BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH) {
+          break;

Review Comment:
   Similar here.  Should this throw an exception?



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/FlattenedIterator.java:
##########
@@ -0,0 +1,47 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.index.bloom;
+
+import java.util.Iterator;
+import java.util.function.Function;
+
+/**
+ * TODO revisit (simplify)

Review Comment:
   nit: docs



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/data/HoodieJavaRDD.java:
##########
@@ -119,7 +118,16 @@ public <O> HoodieData<O> mapPartitions(SerializableFunction<Iterator<T>, Iterato
 
   @Override
   public <O> HoodieData<O> flatMap(SerializableFunction<T, Iterator<O>> func) {
-    return HoodieJavaRDD.of(rddData.flatMap(e -> func.apply(e)));
+    // NOTE: Unrolling this lambda into a method reference results in [[ClassCastException]]
+    //       due to weird interop b/w Scala and Java
+    return HoodieJavaRDD.of(rddData.flatMap(x -> func.apply(x)));
+  }

Review Comment:
   I don't see any change in this part.  What is the intention here?



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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -115,27 +181,124 @@ public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecor
   /**
    * Compute the estimated number of bloom filter comparisons to be performed on each file group.
    */
-  private Map<String, Long> computeComparisonsPerFileGroup(
+  private Map<HoodieFileGroupId, Long> computeComparisonsPerFileGroup(
       final HoodieWriteConfig config,
       final Map<String, Long> recordsPerPartition,
       final Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
-      final JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD,
+      final JavaPairRDD<HoodieFileGroupId, String> fileComparisonsRDD,
       final HoodieEngineContext context) {
-    Map<String, Long> fileToComparisons;
+    Map<HoodieFileGroupId, Long> fileToComparisons;
     if (config.getBloomIndexPruneByRanges()) {
       // we will just try exploding the input and then count to determine comparisons
       // FIX(vc): Only do sampling here and extrapolate?
       context.setJobStatus(this.getClass().getSimpleName(), "Compute all comparisons needed between records and files: " + config.getTableName());
-      fileToComparisons = fileComparisonsRDD.mapToPair(t -> t).countByKey();
+      fileToComparisons = fileComparisonsRDD.countByKey();
     } else {
       fileToComparisons = new HashMap<>();
-      partitionToFileInfo.forEach((key, value) -> {
-        for (BloomIndexFileInfo fileInfo : value) {
+      partitionToFileInfo.forEach((partitionPath, fileInfos) -> {
+        for (BloomIndexFileInfo fileInfo : fileInfos) {
           // each file needs to be compared against all the records coming into the partition
-          fileToComparisons.put(fileInfo.getFileId(), recordsPerPartition.get(key));
+          fileToComparisons.put(
+              new HoodieFileGroupId(partitionPath, fileInfo.getFileId()), recordsPerPartition.get(partitionPath));
         }
       });
     }
     return fileToComparisons;
   }
+
+  private static HoodieTableFileSystemView getBaseFileOnlyView(HoodieTable<?, ?, ?, ?> hoodieTable, Collection<String> partitionPaths) {
+    try {
+      List<String> fullPartitionPaths = partitionPaths.stream()
+          .map(partitionPath ->
+              String.format("%s/%s", hoodieTable.getMetaClient().getBasePathV2(), partitionPath))
+          .collect(Collectors.toList());
+
+      FileStatus[] allFiles =
+          hoodieTable.getMetadataTable().getAllFilesInPartitions(fullPartitionPaths).values().stream()
+              .flatMap(Arrays::stream)
+              .toArray(FileStatus[]::new);
+
+      return new HoodieTableFileSystemView(hoodieTable.getMetaClient(), hoodieTable.getActiveTimeline(), allFiles);
+    } catch (IOException e) {
+      LOG.error(String.format("Failed to fetch all files for partitions (%s)", partitionPaths));
+      throw new HoodieIOException("Failed to fetch all files for partitions", e);
+    }
+  }
+
+  static class AffineBloomIndexFileGroupPartitioner extends Partitioner {
+
+    private final Broadcast<HoodieTableFileSystemView> latestBaseFilesBroadcast;
+
+    // TODO(HUDI-5619) remove when addressed
+    private final Map<String, Map<String, String>> cachedLatestBaseFileNames =
+        new HashMap<>(16);

Review Comment:
   We want to skip a first few expansions, but don't want to allocate too much memory that might not even be used



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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -73,11 +73,12 @@ public abstract class BaseTableMetadata implements HoodieTableMetadata {
 
   private static final Logger LOG = LogManager.getLogger(BaseTableMetadata.class);
 
-  public static final long MAX_MEMORY_SIZE_IN_BYTES = 1024 * 1024 * 1024;
-  public static final int BUFFER_SIZE = 10 * 1024 * 1024;
+  protected static final long MAX_MEMORY_SIZE_IN_BYTES = 1024 * 1024 * 1024;
+  // NOTE: Buffer-size is deliberately set pretty low, since MT internally is relying
+  //       on HFile (serving as persisted binary key-value mapping) to do caching
+  protected static final int BUFFER_SIZE = 10 * 1024; // 10Kb

Review Comment:
   Overall benchmarking is fine.  I'm talking about micro-benchmarking of the affected operation due to the change of buffer size (e.g., benchmarking log scanning performance of `HoodieMergedLogRecordScanner` with different buffer size on S3).  Such change may lead to perf changes not noticeable by the write benchmark.



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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/data/HoodieJavaRDD.java:
##########
@@ -119,7 +118,16 @@ public <O> HoodieData<O> mapPartitions(SerializableFunction<Iterator<T>, Iterato
 
   @Override
   public <O> HoodieData<O> flatMap(SerializableFunction<T, Iterator<O>> func) {
-    return HoodieJavaRDD.of(rddData.flatMap(e -> func.apply(e)));
+    // NOTE: Unrolling this lambda into a method reference results in [[ClassCastException]]
+    //       due to weird interop b/w Scala and Java
+    return HoodieJavaRDD.of(rddData.flatMap(x -> func.apply(x)));
+  }

Review Comment:
   Yeah, let's make the code the same as before.  We can keep the note for reference.



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398081852

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 48c0f695a3b9aade6fc3439a8d53433019b95e89 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494) Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e152d87ec9ea3fcda0c0b1442462b2950b295849 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * e3e0a5d4ca12224814508bf64055d0f621dacb25 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528) 
   * cf81675f497a631e9adcb600ac4b8bd3eb509479 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e152d87ec9ea3fcda0c0b1442462b2950b295849 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * cf81675f497a631e9adcb600ac4b8bd3eb509479 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533) 
   
   <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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1397400077

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * dd82fb612d88d6c9ba4f06be2989ec5061052047 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1397949726

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     }, {
       "hash" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14404",
       "triggerID" : "832ff8001f64cc349c1a32749128ef3cba9d427a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14410",
       "triggerID" : "2ac1a7865107e8d9f8b509957f1fcfce79c50b84",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14419",
       "triggerID" : "6988dfce1a01dbb2e89bffabd0d2475134015756",
       "triggerType" : "PUSH"
     }, {
       "hash" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446",
       "triggerID" : "dd82fb612d88d6c9ba4f06be2989ec5061052047",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14467",
       "triggerID" : "a4afea9412a655aee083524e56b6d75e56720bc4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * dd82fb612d88d6c9ba4f06be2989ec5061052047 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14446) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * a4afea9412a655aee083524e56b6d75e56720bc4 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14467) 
   * a37aa62fd9ea8d3b70a06e181237df23097d90a4 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * cf81675f497a631e9adcb600ac4b8bd3eb509479 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533) 
   * cb0d7dc3922d123daff61757d5c9233adc97ee5e 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * cb0d7dc3922d123daff61757d5c9233adc97ee5e Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559) 
   
   <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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/bloom/HoodieBloomIndex.java:
##########
@@ -210,34 +210,35 @@ protected List<Pair<String, BloomIndexFileInfo>> loadColumnRangesFromMetaIndex(
     // also obtain file ranges, if range pruning is enabled
     context.setJobStatus(this.getClass().getName(), "Load meta index key ranges for file slices: " + config.getTableName());
 
-    final String keyField = hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();
-    return context.flatMap(partitions, partitionName -> {
-      // Partition and file name pairs
-      List<Pair<String, String>> partitionFileNameList = HoodieIndexUtils.getLatestBaseFilesForPartition(partitionName,
-              hoodieTable).stream().map(baseFile -> Pair.of(partitionName, baseFile.getFileName()))
-          .sorted()
-          .collect(toList());
-      if (partitionFileNameList.isEmpty()) {
-        return Stream.empty();
-      }
-      try {
-        Map<Pair<String, String>, HoodieMetadataColumnStats> fileToColumnStatsMap =
-            hoodieTable.getMetadataTable().getColumnStats(partitionFileNameList, keyField);
-        List<Pair<String, BloomIndexFileInfo>> result = new ArrayList<>();
-        for (Map.Entry<Pair<String, String>, HoodieMetadataColumnStats> entry : fileToColumnStatsMap.entrySet()) {
-          result.add(Pair.of(entry.getKey().getLeft(),
-              new BloomIndexFileInfo(
-                  FSUtils.getFileId(entry.getKey().getRight()),
-                  // NOTE: Here we assume that the type of the primary key field is string
-                  (String) unwrapStatisticValueWrapper(entry.getValue().getMinValue()),
-                  (String) unwrapStatisticValueWrapper(entry.getValue().getMaxValue())
-              )));
-        }
-        return result.stream();
-      } catch (MetadataNotFoundException me) {
-        throw new HoodieMetadataException("Unable to find column range metadata for partition:" + partitionName, me);
-      }
-    }, Math.max(partitions.size(), 1));
+    String keyField = hoodieTable.getMetaClient().getTableConfig().getRecordKeyFieldProp();

Review Comment:
   This makes sure we query Column Stats in MT in one batch request



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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -73,11 +73,12 @@ public abstract class BaseTableMetadata implements HoodieTableMetadata {
 
   private static final Logger LOG = LogManager.getLogger(BaseTableMetadata.class);
 
-  public static final long MAX_MEMORY_SIZE_IN_BYTES = 1024 * 1024 * 1024;
-  public static final int BUFFER_SIZE = 10 * 1024 * 1024;
+  protected static final long MAX_MEMORY_SIZE_IN_BYTES = 1024 * 1024 * 1024;
+  // NOTE: Buffer-size is deliberately set pretty low, since MT internally is relying
+  //       on HFile (serving as persisted binary key-value mapping) to do caching
+  protected static final int BUFFER_SIZE = 10 * 1024; // 10Kb

Review Comment:
   Create a ticket to make HFile block configurable



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/data/HoodieJavaRDD.java:
##########
@@ -119,7 +118,16 @@ public <O> HoodieData<O> mapPartitions(SerializableFunction<Iterator<T>, Iterato
 
   @Override
   public <O> HoodieData<O> flatMap(SerializableFunction<T, Iterator<O>> func) {
-    return HoodieJavaRDD.of(rddData.flatMap(e -> func.apply(e)));
+    // NOTE: Unrolling this lambda into a method reference results in [[ClassCastException]]
+    //       due to weird interop b/w Scala and Java
+    return HoodieJavaRDD.of(rddData.flatMap(x -> func.apply(x)));
+  }

Review Comment:
   Oh, i recollect the context now -- i've just added a comment here b/c it was failing after i've accidentally converted it to method reference, so left it to caution future readers



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * bb20aea7ec6ae3ecef8f7d0910341ca3962f2330 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1379609719

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e87893638766ac3c545b5678393f84fe6c211358 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240) 
   * a53521b0d61bcf42868abda32f665868a256b571 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1379667143

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e87893638766ac3c545b5678393f84fe6c211358 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240) 
   * a53521b0d61bcf42868abda32f665868a256b571 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259) 
   * 094ff711d9518a04e93ab0ba28ed636827652d8c 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398012310

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 48c0f695a3b9aade6fc3439a8d53433019b95e89 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * de6ce712cc12145040d3fc4f9772e786c29fa7bd Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505) 
   * a37aa62fd9ea8d3b70a06e181237df23097d90a4 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e152d87ec9ea3fcda0c0b1442462b2950b295849 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521) 
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6815] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1398730409

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 48c0f695a3b9aade6fc3439a8d53433019b95e89 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494) Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490) 
   * de6ce712cc12145040d3fc4f9772e786c29fa7bd 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534][Stacked on 6782] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #7642:
URL: https://github.com/apache/hudi/pull/7642#issuecomment-1386651960

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e87893638766ac3c545b5678393f84fe6c211358",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14240",
       "triggerID" : "e87893638766ac3c545b5678393f84fe6c211358",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a53521b0d61bcf42868abda32f665868a256b571",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14259",
       "triggerID" : "a53521b0d61bcf42868abda32f665868a256b571",
       "triggerType" : "PUSH"
     }, {
       "hash" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14263",
       "triggerID" : "094ff711d9518a04e93ab0ba28ed636827652d8c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377",
       "triggerID" : "01697615c3d88afaa15a59cad6d0c5548b295253",
       "triggerType" : "PUSH"
     }, {
       "hash" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383",
       "triggerID" : "17006dfd66bc82fd5fc8b77e1bde1bf622817908",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 01697615c3d88afaa15a59cad6d0c5548b295253 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14377) 
   * 17006dfd66bc82fd5fc8b77e1bde1bf622817908 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14383) 
   
   <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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -66,42 +80,94 @@ public static SparkHoodieBloomIndexHelper getInstance() {
   public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecordKeys(
       HoodieWriteConfig config, HoodieEngineContext context, HoodieTable hoodieTable,
       HoodiePairData<String, String> partitionRecordKeyPairs,
-      HoodieData<Pair<String, HoodieKey>> fileComparisonPairs,
+      HoodiePairData<HoodieFileGroupId, String> fileComparisonPairs,
       Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
       Map<String, Long> recordsPerPartition) {
-    JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD =
-        HoodieJavaRDD.getJavaRDD(fileComparisonPairs)
-            .map(pair -> new Tuple2<>(pair.getLeft(), pair.getRight()));
 
     int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).partitions().size();
-    int joinParallelism = Math.max(inputParallelism, config.getBloomIndexParallelism());
-    LOG.info("InputParallelism: ${" + inputParallelism + "}, IndexParallelism: ${"
-        + config.getBloomIndexParallelism() + "}");
+    int configuredBloomIndexParallelism = config.getBloomIndexParallelism();
 
+    // NOTE: Target parallelism could be overridden by the config
+    int targetParallelism =
+        configuredBloomIndexParallelism > 0 ? configuredBloomIndexParallelism : inputParallelism;
+
+    LOG.info(String.format("Input parallelism: %d, Index parallelism: %d", inputParallelism, targetParallelism));
+
+    JavaPairRDD<HoodieFileGroupId, String> fileComparisonsRDD = HoodieJavaRDD.getJavaRDD(fileComparisonPairs);
     JavaRDD<List<HoodieKeyLookupResult>> keyLookupResultRDD;
+
     if (config.getBloomIndexUseMetadata()
         && hoodieTable.getMetaClient().getTableConfig().getMetadataPartitions()
         .contains(BLOOM_FILTERS.getPartitionPath())) {
-      // Step 1: Sort by file id
-      JavaRDD<Tuple2<String, HoodieKey>> sortedFileIdAndKeyPairs =
-          fileComparisonsRDD.sortBy(Tuple2::_1, true, joinParallelism);
+      SerializableConfiguration hadoopConf = new SerializableConfiguration(hoodieTable.getHadoopConf());
+
+      HoodieTableFileSystemView baseFileOnlyView =
+          getBaseFileOnlyView(hoodieTable, partitionToFileInfo.keySet());
+
+      Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast =
+          ((HoodieSparkEngineContext) context).getJavaSparkContext().broadcast(baseFileOnlyView);
+
+      // When leveraging MT we're aiming for following goals:
+      //    - (G1) All requests to MT are made in batch (ie we're trying to fetch all the values
+      //      for corresponding keys at once)
+      //    - (G2) Each task reads no more than just _one_ file-group from the MT Bloom Filters
+      //    partition
+      //
+      // Ta achieve G2, following invariant have to be maintained: Spark partitions have to be
+      // affine w/ Metadata Table's file-groups, meaning that each Spark partition holds records
+      // belonging to one and only file-group in MT Bloom Filters partition. To provide for that
+      // we need to make sure
+      //    - Spark's used [[Partitioner]] employs same hashing function as Metadata Table (as well
+      //      as being applied to the same keys as the MT one)
+      //    - Make sure that # of partitions is congruent to the # of file-groups (ie number of Spark
+      //    partitions is a multiple of the # of the file-groups).
+      //
+      //    Last provision is necessary, so that for every key it's the case that
+      //
+      //        (hash(key) % N) % M = hash(key) % M, iff N % M = 0
+      //
+      //    Let's take an example of N = 8 and M = 4 (default # of file-groups in Bloom Filter
+      //    partition). In that case Spark partitions for which `hash(key) % N` will be either 0
+      //    or 4, will map to the same (first) file-group in MT
+      //
+      // To achieve G1, we drastically reduce # of RDD partitions actually reading from MT, by
+      // setting target parallelism as a (low-factor) multiple of the # of the file-groups in MT
+      int targetMetadataParallelism =
+          config.getMetadataConfig().getBloomFilterIndexFileGroupCount() * config.getBloomIndexMetadataFetchingParallelismFactor();
+
+      AffineBloomIndexFileGroupPartitioner partitioner =
+          new AffineBloomIndexFileGroupPartitioner(baseFileOnlyViewBroadcast, targetMetadataParallelism);
+
+      keyLookupResultRDD =
+          // First, we need to repartition and sort records using [[AffineBloomIndexFileGroupPartitioner]]
+          // to make sure every Spark task accesses no more than just a single file-group in MT (allows
+          // us to achieve G2).
+          //
+          // NOTE: Sorting records w/in individual partitions is required to make sure that we cluster
+          //       together keys co-located w/in the MT files (sorted by keys)
+          fileComparisonsRDD.repartitionAndSortWithinPartitions(partitioner)

Review Comment:
   There is b/c we cluster the files into batches of 256 per request to MT and we want to make sure we're not querying metadata for the same file multiple times



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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/AbstractHoodieLogRecordReader.java:
##########
@@ -807,16 +809,17 @@ private ClosableIteratorWithSchema<HoodieRecord> getRecordsIterator(
 
     Option<Pair<Function<HoodieRecord, HoodieRecord>, Schema>> schemaEvolutionTransformerOpt =
         composeEvolvedSchemaTransformer(dataBlock);
+
     // In case when schema has been evolved original persisted records will have to be
     // transformed to adhere to the new schema
-    if (schemaEvolutionTransformerOpt.isPresent()) {
-      return ClosableIteratorWithSchema.newInstance(
-          new CloseableMappingIterator<>(blockRecordsIterator,
-              schemaEvolutionTransformerOpt.get().getLeft()),
-          schemaEvolutionTransformerOpt.get().getRight());
-    } else {
-      return ClosableIteratorWithSchema.newInstance(blockRecordsIterator, dataBlock.getSchema());
-    }
+    Function<HoodieRecord, HoodieRecord> transformer =

Review Comment:
   Good catch! Not sure how this change actually crippled in here. Will clean it up



##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -73,11 +73,12 @@ public abstract class BaseTableMetadata implements HoodieTableMetadata {
 
   private static final Logger LOG = LogManager.getLogger(BaseTableMetadata.class);
 
-  public static final long MAX_MEMORY_SIZE_IN_BYTES = 1024 * 1024 * 1024;
-  public static final int BUFFER_SIZE = 10 * 1024 * 1024;
+  protected static final long MAX_MEMORY_SIZE_IN_BYTES = 1024 * 1024 * 1024;
+  // NOTE: Buffer-size is deliberately set pretty low, since MT internally is relying
+  //       on HFile (serving as persisted binary key-value mapping) to do caching
+  protected static final int BUFFER_SIZE = 10 * 1024; // 10Kb

Review Comment:
   Yeah, this patch have been quite heavily benchmarked by now
   
   You can get more context on this one in here:
   https://github.com/apache/hudi/pull/6815/files#r1083144222
   
   



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


[GitHub] [hudi] alexeykudinkin commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java:
##########
@@ -113,7 +113,7 @@ public HoodieRecord joinWith(HoodieRecord other, Schema targetSchema) {
 
   @Override
   public HoodieRecord rewriteRecord(Schema recordSchema, Properties props, Schema targetSchema) throws IOException {
-    GenericRecord record = HoodieAvroUtils.rewriteRecord((GenericRecord) data, targetSchema);
+    GenericRecord record = HoodieAvroUtils.rewriteRecordWithNewSchema(data, targetSchema);

Review Comment:
   Yeah, this trickled down from my profiling and experimentation on performance (this alone is responsible for 5% of our runtime). Can extract it to a separate PR thouhgh



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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/HoodieFileProbingFunction.java:
##########
@@ -0,0 +1,143 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hudi.index.bloom;
+
+import org.apache.hadoop.fs.Path;
+import org.apache.hudi.client.utils.LazyIterableIterator;
+import org.apache.hudi.common.config.SerializableConfiguration;
+import org.apache.hudi.common.fs.FSUtils;
+import org.apache.hudi.common.model.HoodieBaseFile;
+import org.apache.hudi.common.model.HoodieFileGroupId;
+import org.apache.hudi.common.table.view.HoodieTableFileSystemView;
+import org.apache.hudi.common.util.Option;
+import org.apache.hudi.common.util.ValidationUtils;
+import org.apache.hudi.common.util.collection.Pair;
+import org.apache.hudi.exception.HoodieIndexException;
+import org.apache.hudi.index.HoodieIndexUtils;
+import org.apache.hudi.io.HoodieKeyLookupResult;
+import org.apache.log4j.LogManager;
+import org.apache.log4j.Logger;
+import org.apache.spark.api.java.function.FlatMapFunction;
+import org.apache.spark.broadcast.Broadcast;
+import scala.Tuple2;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+/**
+ * Implementation of the function probing filtered in candidate keys provided in
+ * {@link HoodieBloomFilterProbingResult} w/in corresponding files identified by {@link HoodieFileGroupId}
+ * to validate whether the record w/ the provided key is indeed persisted in it
+ */
+public class HoodieFileProbingFunction implements
+    FlatMapFunction<Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>>, List<HoodieKeyLookupResult>> {
+
+  private static final Logger LOG = LogManager.getLogger(HoodieFileProbingFunction.class);
+
+  // Assuming each file bloom filter takes up 512K, sizing the max file count
+  // per batch so that the total fetched bloom filters would not cross 128 MB.
+  private static final long BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH = 256;
+
+  private final Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast;
+  private final SerializableConfiguration hadoopConf;
+
+  public HoodieFileProbingFunction(Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast,
+                                   SerializableConfiguration hadoopConf) {
+    this.baseFileOnlyViewBroadcast = baseFileOnlyViewBroadcast;
+    this.hadoopConf = hadoopConf;
+  }
+
+  @Override
+  public Iterator<List<HoodieKeyLookupResult>> call(Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> tuple2Iterator) throws Exception {
+    return new BloomIndexLazyKeyCheckIterator(tuple2Iterator);
+  }
+
+  private class BloomIndexLazyKeyCheckIterator
+      extends LazyIterableIterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>, List<HoodieKeyLookupResult>> {
+
+    public BloomIndexLazyKeyCheckIterator(Iterator<Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult>> tuple2Iterator) {
+      super(tuple2Iterator);
+    }
+
+    @Override
+    protected List<HoodieKeyLookupResult> computeNext() {
+      // Partition path and file name pair to list of keys
+      final Map<Pair<String, String>, HoodieBloomFilterProbingResult> fileToLookupResults = new HashMap<>();
+      final Map<String, HoodieBaseFile> fileIDBaseFileMap = new HashMap<>();
+
+      while (inputItr.hasNext()) {
+        Tuple2<HoodieFileGroupId, HoodieBloomFilterProbingResult> entry = inputItr.next();
+        final String partitionPath = entry._1.getPartitionPath();
+        final String fileId = entry._1.getFileId();
+
+        if (!fileIDBaseFileMap.containsKey(fileId)) {
+          Option<HoodieBaseFile> baseFile =
+              baseFileOnlyViewBroadcast.getValue().getLatestBaseFile(partitionPath, fileId);
+          if (!baseFile.isPresent()) {
+            throw new HoodieIndexException("Failed to find the base file for partition: " + partitionPath
+                + ", fileId: " + fileId);
+          }
+
+          fileIDBaseFileMap.put(fileId, baseFile.get());
+        }
+
+        fileToLookupResults.putIfAbsent(Pair.of(partitionPath, fileIDBaseFileMap.get(fileId).getFileName()), entry._2);
+
+        if (fileToLookupResults.size() > BLOOM_FILTER_CHECK_MAX_FILE_COUNT_PER_BATCH) {
+          break;

Review Comment:
   Makes sense.



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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "triggerType" : "PUSH"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14494",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "48c0f695a3b9aade6fc3439a8d53433019b95e89",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14490",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14505",
       "triggerID" : "de6ce712cc12145040d3fc4f9772e786c29fa7bd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14486",
       "triggerID" : "a37aa62fd9ea8d3b70a06e181237df23097d90a4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14521",
       "triggerID" : "e152d87ec9ea3fcda0c0b1442462b2950b295849",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b11fa6b2246e4f02f1da12487093a9b5bfaf2149",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14528",
       "triggerID" : "e3e0a5d4ca12224814508bf64055d0f621dacb25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14533",
       "triggerID" : "cf81675f497a631e9adcb600ac4b8bd3eb509479",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14559",
       "triggerID" : "cb0d7dc3922d123daff61757d5c9233adc97ee5e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "4437e6302deb849200d61526b61330e23f918162",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608",
       "triggerID" : "4437e6302deb849200d61526b61330e23f918162",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "5fdfcbe0eec68348530512c4ddcb2e34fd19f360",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b11fa6b2246e4f02f1da12487093a9b5bfaf2149 UNKNOWN
   * 4437e6302deb849200d61526b61330e23f918162 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14608) 
   * 5fdfcbe0eec68348530512c4ddcb2e34fd19f360 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


[GitHub] [hudi] hudi-bot commented on pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649",
       "triggerID" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14652",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "bb20aea7ec6ae3ecef8f7d0910341ca3962f2330",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649",
       "triggerID" : "1398007962",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * bb20aea7ec6ae3ecef8f7d0910341ca3962f2330 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14652) Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=14649) 
   
   <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


[GitHub] [hudi] yihua commented on a diff in pull request #7642: [HUDI-5534] Optimizing Bloom Index lookup when using Bloom Filters from Metadata Table

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


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -66,42 +82,92 @@ public static SparkHoodieBloomIndexHelper getInstance() {
   public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecordKeys(
       HoodieWriteConfig config, HoodieEngineContext context, HoodieTable hoodieTable,
       HoodiePairData<String, String> partitionRecordKeyPairs,
-      HoodieData<Pair<String, HoodieKey>> fileComparisonPairs,
+      HoodiePairData<HoodieFileGroupId, String> fileComparisonPairs,
       Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
       Map<String, Long> recordsPerPartition) {
-    JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD =
-        HoodieJavaRDD.getJavaRDD(fileComparisonPairs)
-            .map(pair -> new Tuple2<>(pair.getLeft(), pair.getRight()));
 
-    int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).partitions().size();
-    int joinParallelism = Math.max(inputParallelism, config.getBloomIndexParallelism());
-    LOG.info("InputParallelism: ${" + inputParallelism + "}, IndexParallelism: ${"
-        + config.getBloomIndexParallelism() + "}");
+    int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).getNumPartitions();
+    int configuredBloomIndexParallelism = config.getBloomIndexParallelism();
 
+    // NOTE: Target parallelism could be overridden by the config
+    int targetParallelism =
+        configuredBloomIndexParallelism > 0 ? configuredBloomIndexParallelism : inputParallelism;
+
+    LOG.info(String.format("Input parallelism: %d, Index parallelism: %d", inputParallelism, targetParallelism));
+
+    JavaPairRDD<HoodieFileGroupId, String> fileComparisonsRDD = HoodieJavaRDD.getJavaRDD(fileComparisonPairs);
     JavaRDD<List<HoodieKeyLookupResult>> keyLookupResultRDD;
+
     if (config.getBloomIndexUseMetadata()
         && hoodieTable.getMetaClient().getTableConfig().getMetadataPartitions()
         .contains(BLOOM_FILTERS.getPartitionPath())) {
-      // Step 1: Sort by file id
-      JavaRDD<Tuple2<String, HoodieKey>> sortedFileIdAndKeyPairs =
-          fileComparisonsRDD.sortBy(Tuple2::_1, true, joinParallelism);
+      SerializableConfiguration hadoopConf = new SerializableConfiguration(hoodieTable.getHadoopConf());
+
+      HoodieTableFileSystemView baseFileOnlyView =
+          getBaseFileOnlyView(hoodieTable, partitionToFileInfo.keySet());
+
+      Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast =
+          ((HoodieSparkEngineContext) context).getJavaSparkContext().broadcast(baseFileOnlyView);
+
+      // When leveraging MT we're aiming for following goals:
+      //    - (G1) All requests to MT are made in batch (ie we're trying to fetch all the values
+      //      for corresponding keys at once)
+      //    - (G2) Each task reads no more than just _one_ file-group from the MT Bloom Filters
+      //    partition
+      //
+      // Ta achieve G2, following invariant have to be maintained: Spark partitions have to be
+      // affine w/ Metadata Table's file-groups, meaning that each Spark partition holds records
+      // belonging to one and only file-group in MT Bloom Filters partition. To provide for that
+      // we need to make sure
+      //    - Spark's used [[Partitioner]] employs same hashing function as Metadata Table (as well
+      //      as being applied to the same keys as the MT one)
+      //    - Make sure that # of partitions is congruent to the # of file-groups (ie number of Spark
+      //    partitions is a multiple of the # of the file-groups).
+      //
+      //    Last provision is necessary, so that for every key it's the case that
+      //
+      //        (hash(key) % N) % M = hash(key) % M, iff N % M = 0
+      //
+      //    Let's take an example of N = 8 and M = 4 (default # of file-groups in Bloom Filter
+      //    partition). In that case Spark partitions for which `hash(key) % N` will be either 0
+      //    or 4, will map to the same (first) file-group in MT
+      int bloomFilterPartitionFileGroupCount =
+          config.getMetadataConfig().getBloomFilterIndexFileGroupCount();
+      int adjustedTargetParallelism =
+          targetParallelism % bloomFilterPartitionFileGroupCount == 0
+              ? targetParallelism
+              // NOTE: We add 1 to make sure parallelism a) value always stays positive and b)
+              //       {@code targetParallelism <= adjustedTargetParallelism}
+              : (targetParallelism / bloomFilterPartitionFileGroupCount + 1) * bloomFilterPartitionFileGroupCount;

Review Comment:
   Make sure we benchmark the write workload with this new logic before landing the PR.



##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java:
##########
@@ -113,7 +113,7 @@ public HoodieRecord joinWith(HoodieRecord other, Schema targetSchema) {
 
   @Override
   public HoodieRecord rewriteRecord(Schema recordSchema, Properties props, Schema targetSchema) throws IOException {
-    GenericRecord record = HoodieAvroUtils.rewriteRecord((GenericRecord) data, targetSchema);
+    GenericRecord record = HoodieAvroUtils.rewriteRecordWithNewSchema(data, targetSchema);

Review Comment:
   nit: I see other irrelevant changes reverted.  This one is still here.  If you think this makes a performance improvement, we can keep it in this PR.



##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -123,8 +126,10 @@ public List<String> getAllPartitionPaths() throws IOException {
         throw new HoodieMetadataException("Failed to retrieve list of partition from metadata", e);
       }
     }
-    return new FileSystemBackedTableMetadata(getEngineContext(), hadoopConf, dataBasePath.toString(),
-        metadataConfig.shouldAssumeDatePartitioning()).getAllPartitionPaths();
+
+    FileSystemBackedTableMetadata fileSystemBackedTableMetadata =
+        createFileSystemBackedTableMetadata();
+    return fileSystemBackedTableMetadata.getAllPartitionPaths();

Review Comment:
   Makes sense.



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -66,42 +82,92 @@ public static SparkHoodieBloomIndexHelper getInstance() {
   public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecordKeys(
       HoodieWriteConfig config, HoodieEngineContext context, HoodieTable hoodieTable,
       HoodiePairData<String, String> partitionRecordKeyPairs,
-      HoodieData<Pair<String, HoodieKey>> fileComparisonPairs,
+      HoodiePairData<HoodieFileGroupId, String> fileComparisonPairs,
       Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
       Map<String, Long> recordsPerPartition) {
-    JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD =
-        HoodieJavaRDD.getJavaRDD(fileComparisonPairs)
-            .map(pair -> new Tuple2<>(pair.getLeft(), pair.getRight()));
 
-    int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).partitions().size();
-    int joinParallelism = Math.max(inputParallelism, config.getBloomIndexParallelism());
-    LOG.info("InputParallelism: ${" + inputParallelism + "}, IndexParallelism: ${"
-        + config.getBloomIndexParallelism() + "}");
+    int inputParallelism = HoodieJavaPairRDD.getJavaPairRDD(partitionRecordKeyPairs).getNumPartitions();
+    int configuredBloomIndexParallelism = config.getBloomIndexParallelism();
 
+    // NOTE: Target parallelism could be overridden by the config
+    int targetParallelism =
+        configuredBloomIndexParallelism > 0 ? configuredBloomIndexParallelism : inputParallelism;
+
+    LOG.info(String.format("Input parallelism: %d, Index parallelism: %d", inputParallelism, targetParallelism));
+
+    JavaPairRDD<HoodieFileGroupId, String> fileComparisonsRDD = HoodieJavaRDD.getJavaRDD(fileComparisonPairs);
     JavaRDD<List<HoodieKeyLookupResult>> keyLookupResultRDD;
+
     if (config.getBloomIndexUseMetadata()
         && hoodieTable.getMetaClient().getTableConfig().getMetadataPartitions()
         .contains(BLOOM_FILTERS.getPartitionPath())) {
-      // Step 1: Sort by file id
-      JavaRDD<Tuple2<String, HoodieKey>> sortedFileIdAndKeyPairs =
-          fileComparisonsRDD.sortBy(Tuple2::_1, true, joinParallelism);
+      SerializableConfiguration hadoopConf = new SerializableConfiguration(hoodieTable.getHadoopConf());
+
+      HoodieTableFileSystemView baseFileOnlyView =
+          getBaseFileOnlyView(hoodieTable, partitionToFileInfo.keySet());
+
+      Broadcast<HoodieTableFileSystemView> baseFileOnlyViewBroadcast =
+          ((HoodieSparkEngineContext) context).getJavaSparkContext().broadcast(baseFileOnlyView);
+
+      // When leveraging MT we're aiming for following goals:
+      //    - (G1) All requests to MT are made in batch (ie we're trying to fetch all the values
+      //      for corresponding keys at once)
+      //    - (G2) Each task reads no more than just _one_ file-group from the MT Bloom Filters
+      //    partition
+      //
+      // Ta achieve G2, following invariant have to be maintained: Spark partitions have to be
+      // affine w/ Metadata Table's file-groups, meaning that each Spark partition holds records
+      // belonging to one and only file-group in MT Bloom Filters partition. To provide for that
+      // we need to make sure
+      //    - Spark's used [[Partitioner]] employs same hashing function as Metadata Table (as well
+      //      as being applied to the same keys as the MT one)
+      //    - Make sure that # of partitions is congruent to the # of file-groups (ie number of Spark
+      //    partitions is a multiple of the # of the file-groups).
+      //
+      //    Last provision is necessary, so that for every key it's the case that
+      //
+      //        (hash(key) % N) % M = hash(key) % M, iff N % M = 0
+      //
+      //    Let's take an example of N = 8 and M = 4 (default # of file-groups in Bloom Filter
+      //    partition). In that case Spark partitions for which `hash(key) % N` will be either 0
+      //    or 4, will map to the same (first) file-group in MT
+      int bloomFilterPartitionFileGroupCount =
+          config.getMetadataConfig().getBloomFilterIndexFileGroupCount();
+      int adjustedTargetParallelism =
+          targetParallelism % bloomFilterPartitionFileGroupCount == 0
+              ? targetParallelism
+              // NOTE: We add 1 to make sure parallelism a) value always stays positive and b)
+              //       {@code targetParallelism <= adjustedTargetParallelism}
+              : (targetParallelism / bloomFilterPartitionFileGroupCount + 1) * bloomFilterPartitionFileGroupCount;

Review Comment:
   One caveat is that if the `targetParallelism` is large, it may still overload the S3 bucket if the number of Spark executors is large (each executor reading metadata table's bloom_filters partition).



##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/index/bloom/SparkHoodieBloomIndexHelper.java:
##########
@@ -115,27 +181,124 @@ public HoodiePairData<HoodieKey, HoodieRecordLocation> findMatchingFilesForRecor
   /**
    * Compute the estimated number of bloom filter comparisons to be performed on each file group.
    */
-  private Map<String, Long> computeComparisonsPerFileGroup(
+  private Map<HoodieFileGroupId, Long> computeComparisonsPerFileGroup(
       final HoodieWriteConfig config,
       final Map<String, Long> recordsPerPartition,
       final Map<String, List<BloomIndexFileInfo>> partitionToFileInfo,
-      final JavaRDD<Tuple2<String, HoodieKey>> fileComparisonsRDD,
+      final JavaPairRDD<HoodieFileGroupId, String> fileComparisonsRDD,
       final HoodieEngineContext context) {
-    Map<String, Long> fileToComparisons;
+    Map<HoodieFileGroupId, Long> fileToComparisons;
     if (config.getBloomIndexPruneByRanges()) {
       // we will just try exploding the input and then count to determine comparisons
       // FIX(vc): Only do sampling here and extrapolate?
       context.setJobStatus(this.getClass().getSimpleName(), "Compute all comparisons needed between records and files: " + config.getTableName());
-      fileToComparisons = fileComparisonsRDD.mapToPair(t -> t).countByKey();
+      fileToComparisons = fileComparisonsRDD.countByKey();
     } else {
       fileToComparisons = new HashMap<>();
-      partitionToFileInfo.forEach((key, value) -> {
-        for (BloomIndexFileInfo fileInfo : value) {
+      partitionToFileInfo.forEach((partitionPath, fileInfos) -> {
+        for (BloomIndexFileInfo fileInfo : fileInfos) {
           // each file needs to be compared against all the records coming into the partition
-          fileToComparisons.put(fileInfo.getFileId(), recordsPerPartition.get(key));
+          fileToComparisons.put(
+              new HoodieFileGroupId(partitionPath, fileInfo.getFileId()), recordsPerPartition.get(partitionPath));
         }
       });
     }
     return fileToComparisons;
   }
+
+  private static HoodieTableFileSystemView getBaseFileOnlyView(HoodieTable<?, ?, ?, ?> hoodieTable, Collection<String> partitionPaths) {
+    try {
+      List<String> fullPartitionPaths = partitionPaths.stream()
+          .map(partitionPath ->
+              String.format("%s/%s", hoodieTable.getMetaClient().getBasePathV2(), partitionPath))
+          .collect(Collectors.toList());
+
+      FileStatus[] allFiles =
+          hoodieTable.getMetadataTable().getAllFilesInPartitions(fullPartitionPaths).values().stream()
+              .flatMap(Arrays::stream)
+              .toArray(FileStatus[]::new);
+
+      return new HoodieTableFileSystemView(hoodieTable.getMetaClient(), hoodieTable.getActiveTimeline(), allFiles);
+    } catch (IOException e) {
+      LOG.error(String.format("Failed to fetch all files for partitions (%s)", partitionPaths));
+      throw new HoodieIOException("Failed to fetch all files for partitions", e);
+    }
+  }
+
+  static class AffineBloomIndexFileGroupPartitioner extends Partitioner {
+
+    private final Broadcast<HoodieTableFileSystemView> latestBaseFilesBroadcast;
+
+    // TODO(HUDI-5619) remove when addressed
+    private final Map<String, Map<String, String>> cachedLatestBaseFileNames =
+        new HashMap<>(16);

Review Comment:
   Any reason of using `16` instead of a bigger number?



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