jadami10 opened a new pull request, #14736:
URL: https://github.com/apache/pinot/pull/14736
This is a small `UI` quality of life `feature`
- remove the "delete schema" button. You can't delete the schema while the
table exists. So there's no way a "delete schema" button works on the table page
- remove the "truncate table" button. It's been >2 years since it's been
pending, so I'm removing it to reclaim the UI space.
- update the "delete table" modal with 2 options: delete immediately and
delete schema
- "delete immediately" bypasses retention which is really useful for large
tables that cause this API to time out
- "delete schema" is a replacement for the dedicated button that will only
delete the schema after deleting the table
I tested this locally with a quickstart:
- deleting a table with neither option
- deleting a table immediately
- deleting the offline table and schema of a hybrid table deletes the tables
but fails to delete the schema still in use
- deleting a table with both options
how the modal looks
<img width="668" alt="image"
src="https://github.com/user-attachments/assets/653752ab-e3ae-4fac-ae98-946757ae95e6"
/>
deleting both the table and schema
<img width="590" alt="image"
src="https://github.com/user-attachments/assets/e3b7b1d4-3f05-4e0f-a92a-6be8623d364c"
/>
--
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]