voonhous opened a new pull request, #13147: URL: https://github.com/apache/hudi/pull/13147
### Change Logs Visualizing the timeline via console and finder/explorer is often challenging as files are often sorted via naming convention. With completion time thrown into completed instants, it makes grouping of instants even harder when looking at it via console. Hence, a timeline visualizer can oftentimes make one able to understand the timeline better, especially for concurrent/long writes. Attached below is an example of how it looks like for now, functionalities are there, but it is a little rough: #### Main page The main page allow users to input the the table paths and the timeline will be visualised. <img width="1026" alt="image" src="https://github.com/user-attachments/assets/dae7ec4d-1974-414e-ac16-b00b5787f917" /> #### Hovering over instants Hovering over the instant bars will show you additional details like duration an action took. <img width="1029" alt="image" src="https://github.com/user-attachments/assets/5064bff0-550a-406a-bbef-bb2abe0b34fc" /> #### Selecting an instant Since commit details are saved to the filesystem as avro binaries, the commit information are not easily readable. Selecting the commit/deltacommit will return the details in json format. NOTE: only commit/deltacommits are supported for now. <img width="1027" alt="image" src="https://github.com/user-attachments/assets/f7e66170-d2cc-4aea-9e52-7632d8146679" /> ### Impact _Describe any public API or user-facing feature change or any performance impact._ Added 2 API endpoints on on the `/v2/hoodie/view` path and they are: 1. timeline/instants/all?basepath={basepath} 2. timeline/instant?basepath={basepath}&instant={instant}&instantaction={instantaction}&instantstate={instantstate} ### Risk level (write none, low medium or high below) None ### Documentation Update We do not have any documentations for timeline service, hence, i suppose no documentation changes are required. ### Contributor's checklist - [x] 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]
