-
Notifications
You must be signed in to change notification settings - Fork 117
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
Rill Developer: add UI for external tables #4027
Conversation
Validated and tested, LGTM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small question. Otherwise LGTM
@@ -44,7 +44,7 @@ export function initBlankDashboardYAML(dashboardTitle: string) { | |||
# Visit https://docs.rilldata.com/reference/project-files to learn more about Rill project files. | |||
|
|||
title: "" | |||
model: "" | |||
table: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we prefer table for the blank dashbaord?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because model
only works for models, but table
works for these external tables plus sources and models.
* Add external table page and navigation * Use `table` not `model` in generated dashboard YAML * Add "Autogenerate dashboard" action to header * Add "Autogenerate dashboard" action to context menu * Hide modeling for Druid connections * Only show sources for DuckDB connections * Terminology: use "table" not "external table" * Remove modeling layer for clickhouse driver * Add a `default_time_range` of "P4W" * Differentiate between models and tables in generated dashboard code * Fix placeholder for OLAP drivers that don't support modeling * Use selector `isModelingSupportedForCurrentOlapDriver` * Bugfix * Add navigation overflow/scroll when many tables * Only route to Welcome page for DuckDB OLAP driver * Add different onboarding steps for non-DuckDB OLAP drivers * Edit copy * Fix test (and slight test refactor) * Fix test * Fix lint * Filter out the managed tables (sources and models) --------- Co-authored-by: Nishant Bangarwa <nishant.monu51@gmail.com>
This PR adds UI to Rill Developer to enable exploring external tables. These are pre-existing tables in the user's OLAP driver (e.g. DuckDB, Clickhouse, Druid) and are not managed by Rill.
Specifically, this PR:
localhost:9009/table/{table-name}
that shows a preview (up to 150 rows) of the selected tableCloses #4041
Remaining work:
TableColumns
andTableRows
) aren't available for Druid