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] Ensure :name is unique on returned columns in the FE #39118

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

bshepherdson
Copy link
Contributor

This is FE-only because this is a compatibility issue with the (legacy)
metadata coming back from the QP.

In time, the FE logic should be ported to MLv2 or made to depend on
things other than the :name field. MLv2 code itself (including BE
usage) should be based on the (already unique)
:lib/desired-column-alias.

Fixes #37517.

This is FE-only because this is a compatibility issue with the (legacy)
metadata coming back from the QP.

In time, the FE logic should be ported to MLv2 or made to depend on
things other than the `:name` field. MLv2 code itself (including BE
usage) should be based on the (already unique)
`:lib/desired-column-alias`.

Fixes #37517.
Copy link
Contributor Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@metabase-bot metabase-bot bot added the .Team/QueryProcessor :hammer_and_wrench: label Feb 23, 2024
@bshepherdson bshepherdson added the backport Automatically create PR on current release branch on merge label Feb 23, 2024
@bshepherdson bshepherdson added this to the 0.49 milestone Feb 23, 2024
Copy link
Contributor

@metamben metamben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bshepherdson bshepherdson enabled auto-merge (squash) February 23, 2024 15:48
Copy link

replay-io bot commented Feb 23, 2024

Status Complete ↗︎
Commit 1be0f86
Results
⚠️ 2 Flaky
2321 Passed

@bshepherdson bshepherdson merged commit 4b80c77 into master Feb 23, 2024
117 of 138 checks passed
@bshepherdson bshepherdson deleted the mblib-unique-returned-column-names branch February 23, 2024 16:16
bshepherdson added a commit that referenced this pull request Mar 26, 2024
…FE (#39118)" (#39122)

Fixes #37517.

Co-authored-by: Braden Shepherdson <braden@metabase.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Automatically create PR on current release branch on merge .Team/QueryProcessor :hammer_and_wrench:
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MLv2] [BE] [Bug] returnedColumns does not handle columns with the same name
2 participants