yihua opened a new pull request, #8271: URL: https://github.com/apache/hudi/pull/8271
### Change Logs Before this PR, the savepoint-related call procedure can only take the table name stored in the catalog in Spark SQL. This does not work with the temporary view (`df. createOrReplaceTempView(name)`). See #7589 . Relevant call procedure are: ``` call create_savepoint(table => 'table_name', commit_time => 'commit_time') call show_savepoints(table => 'table_name') call delete_savepoint(table => 'table_name', instant_time => 'commit_time') call rollback_to_savepoint(table => 'table_name', instant_time => 'commit_time') ``` This PR adds the support of using the base path of a Hudi table for savepoint call procedure in Spark SQL. Users can now run the following new call procedure: ``` call create_savepoint(path => '/table/path', commit_time => 'commit_time') call show_savepoints(path => '/table/path') call delete_savepoint(path => '/table/path', instant_time => 'commit_time') call rollback_to_savepoint(path => '/table/path', instant_time => 'commit_time') ``` ### Impact Improves the usability of savepoint call procedure in Spark SQL. New unit tests are added to make sure the call procedure works. ### Risk level none ### Documentation Update See HUDI-5974. ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
