jadami10 opened a new pull request, #9198: URL: https://github.com/apache/pinot/pull/9198
This is a `ui` `feature` I still need to test this more thoroughly on a larger environment than my local one, but I wanted to get this PR up early to make sure this is desired behavior. This will fix something that's annoyed me greatly about the tables page. We fetch the table list, then the table data, then the schema data. But we don't render the tables until we have all that data. Since this can take minutes (specifically getting the size of big tables), it leaves the page on a spinner when usually we just want the table list immediately. It modifies `Tables.tsx` to track initial data separately from the data that is finally rendered so we can update the table data while still maintaining sorts and filters. TODOs: - schemas need to be loaded all at once. Add an indicator to the table that they're still loading (instead of no records found) - don't await tables or schemas. chain setting the data to the promises so they render async https://user-images.githubusercontent.com/4760722/184061603-ba537cdf-353c-4608-bf04-e76ad24a87ff.mov -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
