Zouxxyy opened a new pull request, #11418:
URL: https://github.com/apache/hudi/pull/11418

   ### Change Logs
   
   Currently `show_fsview_all` support set `path_regex`, e.g.
   ```sql
   call show_fsview_all(table => '$tableName', path_regex => 'day=d1/hh=h2')
   call show_fsview_all(table => '$tableName', path_regex => 'day=d1/*/')
   ```
   
   while `show_fsview_latest` only support set `partition_path`, e.g.
   ```sql
   call show_fsview_latest(table => '$tableName', partition_path => 
'day=d1/hh=h2')
   ```
   
   This PR make `show_fsview_latest` support `path_regex` too, In fact, 
`partition_path` can be completely replaced by  `path_regex`, but for 
compatibility with old versions, we keep it
   
   Other fixs:
   
   - change `partition_path` from required to optional
   - fix `call show_fsview_latest` when no commits in timeline
   
   ### Impact
   
   `show_fsview_latest` support  `path_regex`
   
   ### Risk level (write none, low medium or high below)
   
   low
   
   ### Documentation Update
   
   will update the doc of `call show_fsview_latest`
   
   ### Contributor's checklist show_fsview_latest
   
   - [ ] 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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to