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

🤖 backported "Fix missing result metadata" #39243

Merged

Conversation

metabase-bot[bot]
Copy link
Contributor

@metabase-bot metabase-bot bot commented Feb 28, 2024

#39201

Important

Manual conflict resolution is required.
Checkout the branch and run ./backport.sh script. Force push your changes after cherry-picking.

@metabase-bot metabase-bot bot added the was-backported apply this to PRs that are themselves backports label Feb 28, 2024
@kamilmielnik kamilmielnik force-pushed the backport-d26b7820639faa15acb8d7a50429230d67d58c27 branch from 735a420 to 42a58fe Compare February 28, 2024 13:37
* Keep result-metadata of native queries if possible

Part of #37009.

* Fix typo

* Add a fallback for when resultMetadata is not available

* Revert "Add a fallback for when resultMetadata is not available"

This reverts commit 5ad3a8b.

* Move resultsMetadata logic into getSubmittableQuestion

* Add a fallback for when resultMetadata is not available

* Add explanatory comment

* Guard against missing resultsMetadata

* Add repro for #35039

* Simplify the test

* Add an explanatory comment

* Fix test

* Rename promise to runQuestionPromise

---------

Co-authored-by: Tamás Benkő <tamas@metabase.com>
@kamilmielnik kamilmielnik force-pushed the backport-d26b7820639faa15acb8d7a50429230d67d58c27 branch from 42a58fe to 0faf30f Compare February 28, 2024 13:38
@kamilmielnik kamilmielnik self-requested a review February 28, 2024 13:38
@kamilmielnik kamilmielnik enabled auto-merge (squash) February 28, 2024 13:43
Copy link

replay-io bot commented Feb 28, 2024

Status Complete ↗︎
Commit af94cbe
Results
⚠️ 1 Flaky
2317 Passed

@kamilmielnik kamilmielnik merged commit ca5d0e2 into release-x.49.x Feb 28, 2024
106 checks passed
@kamilmielnik kamilmielnik deleted the backport-d26b7820639faa15acb8d7a50429230d67d58c27 branch February 28, 2024 14:53
kamilmielnik added a commit that referenced this pull request Feb 29, 2024
kamilmielnik added a commit that referenced this pull request Mar 1, 2024
* Revert "Fix missing result metadata (#39201) (#39243)"

This reverts commit ca5d0e2.

* Bring back e2e test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
was-backported apply this to PRs that are themselves backports
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant