SYNC_HIVE
This topic is available for MRS 3.5.0-LTS or later only.
Function
This command is used to synchronize Hudi tables stored in the Hudi data directory to Hive.
Syntax
call sync_hive(table => '[table]', tablePath => '[tablePath]')
Description
Parameter |
Description |
Mandatory |
---|---|---|
table |
Name of the table to be synchronized to Hive. |
Yes. If the table does not exist, it will be created. |
tablePath |
Storage path of the Hudi data directory |
Yes |
Example
call sync_hive(table => 'hudi_table', tablePath => '/user/hive/warehouse/hudi_table')
Response
You can view query results on the client.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot