-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make duckdb the standard in the dev-env environment
MetricFlow's testing configuration currently tags sql engine types to hatch execution environment. The standard one, which we use for `make test`, is meant to be duckdb, but a stale environment variable can cause inscrutable failures on any test requiring an engine connection. This change updates the test environment configuration to make duckdb the standard for any runs in the hatch dev-env, including any invocation such as `make test`. It also removes the default fallback to duckdb, which was causing inconsistent behaviors in certain environment configurations, and replaces it with a consistent error. Developers with heavily customized environment configurations might have a bad time with this, but they were already having a bad time with other things, and at least this gives them an actionable error message.
- Loading branch information
Showing
3 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: Under the Hood | ||
body: Make duckdb the standard for all dev-env environment runs, including `make test` | ||
time: 2023-08-14T22:57:29.775028-07:00 | ||
custom: | ||
Author: tlento | ||
Issue: "723" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters