LIKE-HUB opened a new issue, #10400:
URL: https://github.com/apache/hudi/issues/10400

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   yes
   - 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**
   When I use  consistent_hashing index to write  hudi,but the bucket effect 
does not appear
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   String desSql = "CREATE TABLE zs_test_lk1222(\n" +
                   "  `hh` STRING,\n" +
                   "  `csrq` STRING,\n" +
                   "  `jhre_xm` STRING,\n" +
                   "  `mq_xm` STRING,\n" +
                   "  `xgsj_rqsj` STRING,\n" +
                   "  `po_gmsfhm` STRING,\n" +
                   "  `gmsfhm` STRING,\n" +
                   "  `mq_gmsfhm` STRING,\n" +
                   "  `xbdm` STRING,\n" +
                   "  `zjhm` STRING,\n" +
                   "  `fq_xmhypy` STRING,\n" +
                   "  `jhre_gmsfhm` STRING,\n" +
                   "  `hyzkdm` STRING,\n" +
                   "  `xzqhdm` STRING,\n" +
                   "  `fq_gmsfhm` STRING,\n" +
                   "  `jhry_gmsfhm` STRING,\n" +
                   "  `lxdh` STRING,\n" +
                   "  `mq_xmhypy` STRING,\n" +
                   "  `jhry_xm` STRING,\n" +
                   "  `jhry_jtgxdm` STRING,\n" +
                   "  `po_xm` STRING,\n" +
                   "  `xxzjbh` STRING,\n" +
                   "  `jg_dzmc` STRING,\n" +
                   "  `jhre_jtgxdm` STRING,\n" +
                   "  `hz_xm` STRING,\n" +
                   "  `djsj` STRING,\n" +
                   "  `yhzgxdm` STRING,\n" +
                   "  `xm` STRING,\n" +
                   "  `po_xmhypy` STRING,\n" +
                   "  `rybh` STRING,\n" +
                   "  `xmhypy` STRING,\n" +
                   "  `fq_xm` STRING,\n" +
                   "  `id` STRING\n" +
                   ")\n" +
                   " PARTITIONED BY (`xbdm`) WITH (\n" +
                   "  'connector' = 'hudi',\n" +
                   "  'path' = 
'hdfs://sugon-cluster/home/like/zs_test_lk1222',\n" +
                   "  'index.type' = 'BUCKET', \n" +
                   "  'hoodie.bucket.index.hash.field' = 'id', \n"  +
                   "  'hoodie.index.bucket.engine' = 'CONSISTENT_HASHING', \n" +
                   "  'hoodie.clustering.async.max.commits' = '4', \n" +
                   "  'clustering.schedule.enabled' = 'true',\n" +
                   "  'hoodie.bucket.index.max.num.buckets' = '128', \n" +
                   "  'hoodie.bucket.index.min.num.buckets' = '32', \n" +
                   "  'hoodie.bucket.index.num.buckets' = '4', \n" +
                   "  'hoodie.bucket.index.split.threshold' = '1.5', \n" +
                   "  'hoodie.bucket.index.merge.threshold' = '0.1', \n" +
                   "  'hoodie.datasource.write.recordkey.field'='id',\n" +
                   "  'write.tasks' = '4',\n" +
                   "  'compaction.tasks' = '2',\n" +
                   "  'compaction.async.enabled' = 'true',\n" +
                   "  'compaction.delta_commits' = '2',\n" +
                   "  'write.precombine.field'='csrq',\n" +
                   "  'compaction.max_memory' = '1000',\n" +
                   "  'write.insert.deduplicate'= 'false',\n" +
                   "  'write.operation'= 'upsert',\n" +
                   "  'write.parquet.max.file.size'='1',\n" +
                   "  'table.type' = 'MERGE_ON_READ', \n" +
                   "  'hive_sync.enable'= 'false',\n " +
                   "  'hive_sync.mode'= 'hms', \n" +
                   "  'hive_sync.metastore.uris' = thrift://:9083',\n" +
                   "  'hive_sync.kerberos.enable' = 'true',\n" +
                   "  'hive_sync.kerberos.principal' = 'hive/[email protected]',\n" 
+
                   "  'hive_sync.db'= 'jxk',\n" +
                   "  'hive_sync.table'= 'zs_test_lk1222'\n" +
                   ")";
   
   **Expected behavior**
   
   A clear and concise description of what you expected to happen.
   
   **Environment Description**
   
   * Hudi version :1.0.0-beta1
   
   * Flink version :1.13.6
   
   * Hive version :
   
   * Hadoop version :3.2.1
   
   * Storage (HDFS/S3/GCS..) :hdfs
   
   * Running on Docker? (yes/no) :no
   
   
   **Additional context**
   The parquet file does not have an bucket index prefix
   eg: .024842d5-0427-3f5f-b1f8-6a9c33a7f341-0_20231222095226189.log.1_1-4-0
   
   
   **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