-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Pinot 1.2.0 UI] No support for "database" construct from UI #14068
Comments
Thanks for reporting this. cc @jayeshchoudhary |
Proposal to Contribute a Fix for "Database Support in Pinot UI"I came across this issue where in Pinot 1.2.0 the UI does not support creating or querying tables apart from the 'default' database. I propose to fix this issue by enhancing the REST API and updating the UI accordingly. (I am a backend developer with little UI experience, but the changes seem manageable.) Problem Statement
Proposed Solution
PoCI just tried doing a PoC of this by changing the behavior of the table API to return all tables when no database is specified. Next, I Created 2 tables with same name in different DBs, here's how the UI renders now. NOTE: We will have to fall back to Task 1 as we can't change behavior of current API, this was done just for a quick PoC. BenefitsBy implementing these changes, we can enhance the functionality of the Pinot UI and REST API to support database constructs more effectively. This will simplify the process for users working with multiple databases within the same cluster. I am eager to contribute to this project and look forward to your feedback on this proposal. Thank you for considering my proposal. Best regards, |
Hi @ajeydudhe, @Jackie-Jiang, @shounakmk219, @xiangfu0 @npawar Any thoughts on this proposal? |
Hey @NihalJain thanks a lot for taking this up! Few questions
I am more inclined to a user flow where user is required to set the database context first and then proceed to do any operations, same flow that's followed by other standard SQL CLIs where we are required to set the database/catalog context before doing any operation. |
Problem statement
Pinot 1.2.0 supports database constructs as mentioned here.
However, the UI does not allow creating a table using a database or querying a table within a database.
Steps to reproduce
The text was updated successfully, but these errors were encountered: