Skip to content

design: snowflake/bq OLAP + Rill - Managed#9262

Open
royendo wants to merge 8 commits intomainfrom
worktree-snowflake-behavior
Open

design: snowflake/bq OLAP + Rill - Managed#9262
royendo wants to merge 8 commits intomainfrom
worktree-snowflake-behavior

Conversation

@royendo
Copy link
Copy Markdown
Contributor

@royendo royendo commented Apr 20, 2026

INSERT DESCRIPTION HERE
Screenshot 2026-04-20 at 14 10 55

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

royendo and others added 8 commits April 20, 2026 10:42
When a project's `olap_connector` is DuckDB and the user browses a
Snowflake or BigQuery table in the connector explorer, "Generate
metrics" and "Generate dashboard" now open a submenu with two options:
"Import to DuckDB" (model-backed) or "Live on Snowflake/BigQuery"
(direct metrics view on the warehouse). When the project's OLAP is
already Snowflake/BigQuery, only the live option is offered and
"Create model" is hidden.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace nested submenus with labelled sections for each OLAP mode.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
`DropdownMenu.Label` renders a `GroupHeading` primitive that requires a
`Group` or `RadioGroup` context.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
… OLAP

When the project's OLAP doesn't support modeling (ClickHouse, Pinot,
etc.), the "Add a source" section was hidden entirely. Show Snowflake
and BigQuery there since they can be queried live as OLAP connectors.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Use optional chaining on the modeling-support query result and move the
`visibleSourceConnectors` derivation after `isModelingSupported` so
Svelte's reactive ordering matches source order.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Warehouses that implement OLAP can be queried live even when the project
OLAP doesn't support modeling, so surface them alongside OLAP engines in
the "Where is your data?" selector.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
When both import and live paths are offered, "Create model" belongs
alongside the other DuckDB-backed actions rather than floating at the
top of the menu.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant