TheR1sing3un opened a new issue, #12210:
URL: https://github.com/apache/hudi/issues/12210

   Currently we have two types of buck engines:
   - Simple: fixed bucket number
   - Consistent hash: adjust bucket num by consistent hash relation
   
   When user build a table with simple bucket index. The amount of data in each 
bucket can get larger over time, affecting the performance of compaction. 
However, users have no way to adjust the number of buckets in real time except 
to delete the table and rebuild.
   So do we need to provide a way to dynamically adjust the bucket count? 
   Bucket resizing should not block reading and writing. We can use clustering 
to adjust the number of buckets, and we can use a dual write for new writes 
during resizing execution to ensure data consistency. 
   
   Why don't we use Consistent-Hash bucket engine?
   - The number of buckets can only be increased or decreased one by one
   - It is difficult to provide a bucket join to the query engine because of 
the complex mapping between hash and bucket
   
   So should we introduce extensible simple bucket? Welcome to the discussion!
   
   
   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected].
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   
   A clear and concise description of the problem.
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1.
   2.
   3.
   4.
   
   **Expected behavior**
   
   A clear and concise description of what you expected to happen.
   
   **Environment Description**
   
   * Hudi version :
   
   * Spark version :
   
   * Hive version :
   
   * Hadoop version :
   
   * Storage (HDFS/S3/GCS..) :
   
   * Running on Docker? (yes/no) :
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```Add the stacktrace of the error.```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to