metabase / metabase/metabase

Add option to view a model's query definition directly from the query builder

Open
#65,816 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

.Auto triaged .Team/QueryingPlatform Querying/Models Semantic Layer/Models Type:New Feature
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

Is your feature request related to a problem? Please describe.
When creating a new question using a model as the data source, users can’t easily see what the model actually does without leaving the query builder. They have to open the model separately and view its query definition.

Describe the solution you'd like
Add an option to view a model’s query definition directly from the question builder when a model is selected.

Describe alternatives you've considered
Viewing the raw SQL, but there is a lot of noise in there that makes it really hard to quickly see what it does.

How important is this feature to you?
Mentioned by a customer. Internal Ticket here

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the question builder flow used when a model is selected, then find the existing model query-definition view and how it is opened separately. Done means the builder offers an option to view the selected model’s query definition without leaving the question-building flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.