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

[BE] [MBQL lib] Allow using compatible metrics for the source table #42470

Closed
Tracked by #37335
ranquild opened this issue May 9, 2024 · 0 comments
Closed
Tracked by #37335

[BE] [MBQL lib] Allow using compatible metrics for the source table #42470

ranquild opened this issue May 9, 2024 · 0 comments
Assignees

Comments

@ranquild
Copy link
Contributor

ranquild commented May 9, 2024

Depends on #42462

Modify availableMetrics

  • If source-card is a metric, return only it
  • If source-table is a table, return all metrics compatible with this table (metrics v1 behavior). These metrics are passed in table.metrics as before
    • Compatible means:
      • single stage metric
      • source table of question is the same source table of metric
      • only allowed on stage 0
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

No branches or pull requests

2 participants