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

Track metabase.nqa module dependencies #44464

Merged
merged 3 commits into from
Jun 21, 2024
Merged

Track metabase.nqa module dependencies #44464

merged 3 commits into from
Jun 21, 2024

Conversation

crisptrutski
Copy link
Contributor

Description

The first stage of recovery is acceptance.

Here we declare all the module dependencies of metabase.native-query-analyzer.

@crisptrutski crisptrutski requested review from calherries and a team June 20, 2024 09:49
@crisptrutski crisptrutski self-assigned this Jun 20, 2024
@crisptrutski crisptrutski added .Team/BackendComponents also known as BEC backport Automatically create PR on current release branch on merge labels Jun 20, 2024
[metabase.driver.util :as driver.u]
[metabase.lib.native :as lib.native]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We still depend on both these modules, but metabase.lib is the higher-level one.

Copy link

replay-io bot commented Jun 20, 2024

Status Complete ↗︎
Commit f0bc10f
Results
⚠️ 5 Flaky
2650 Passed

(let [driver (driver.u/database->driver (:database query))]
(let [driver (lib.native/engine query)]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It turns out we can't actually make this change (yet?) as our test queries don't have the required :lib/type and :stages values used by the validation for this helper.

@crisptrutski crisptrutski merged commit 0e87878 into master Jun 21, 2024
109 checks passed
@crisptrutski crisptrutski deleted the modularity branch June 21, 2024 03:58
github-automation-metabase added a commit that referenced this pull request Jun 21, 2024
Co-authored-by: Chris Truter <crisptrutski@users.noreply.github.com>
@iethree iethree added this to the 0.50.7 milestone Jun 24, 2024
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/BackendComponents also known as BEC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants