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

   **Describe the problem you faced**
   
   The tableName needs to be specified when HoodieJavaWriteClient is created, 
so that each table needs to create a corresponding HoodieJavaWriteClient. When 
there are a lot of tables in the database that need to be updated, a lot of 
HoodieJavaWriteClient needs to be created
   
   Steps to reproduce the behavior:
   
   `  HoodieWriteConfig cfg = HoodieWriteConfig.newBuilder().withPath(tablePath)
           .withSchema(PERSON_SCHEMA).withParallelism(2, 2)
           .withDeleteParallelism(2).forTable(tableName)
               .withIndexConfig(indexConfig)
           
.withArchivalConfig(HoodieArchivalConfig.newBuilder().archiveCommitsWith(20, 
30).build()).build();`
   
      ` HoodieJavaWriteClient<HoodieAvroPayload> client =
           new HoodieJavaWriteClient<>(new HoodieJavaEngineContext(hadoopConf), 
cfg);`
   
   **Expected behavior**
   HoodieJavaWriteClient supports operating all tables in the database instead 
of only one table
   
   **Environment Description**
   
   * Hudi version : 0.12.0
   
   
   


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