Skip to content
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

[MLv2] [BE] Query display info #36973

Closed
Tracked by #36108
ranquild opened this issue Dec 20, 2023 · 0 comments · Fixed by #37675
Closed
Tracked by #36108

[MLv2] [BE] Query display info #36973

ranquild opened this issue Dec 20, 2023 · 0 comments · Fixed by #37675
Assignees
Labels
.Backend .metabase-lib Label for tracking all issues related to the shared CLJC metabase-lib .Team/QueryProcessor :hammer_and_wrench:

Comments

@ranquild
Copy link
Contributor

ranquild commented Dec 20, 2023

Info about the query:

  • native or not
  • editable or not (MLv2 should be aware of this starting from drills). Should work for moth mbql and native queries.

Proposed signature:

displayInfo(query: Query): QueryDisplayInfo;

type QueryDisplayInfo = {
  isNative: boolean;
  isEditable: boolean;
};

Existing implementation for isEditable:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Backend .metabase-lib Label for tracking all issues related to the shared CLJC metabase-lib .Team/QueryProcessor :hammer_and_wrench:
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants