Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 52beb2d

Browse files
authored
Merge pull request #569 from leoebfolsom/update-dbt-version-error-message
update --select dbt version error message
2 parents 7cc1b58 + 9d20ea5 commit 52beb2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_diff/dbt_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def get_models(self, dbt_selection: Optional[str] = None):
130130
)
131131
else:
132132
raise Exception(
133-
f"Use of the `--select` feature requires dbt >= 1.5. Found dbt manifest: v{dbt_version}"
133+
f"The `--select` feature requires dbt >= 1.5, but your project's manifest.json is from dbt v{dbt_version}. Please follow these steps to use the `--select` feature: \n 1. Update your dbt-core version via pip install 'dbt-core>=1.5'. Details: https://docs.getdbt.com/docs/core/pip-install#change-dbt-core-versions \n 2. Execute any `dbt` command (`run`, `compile`, `build`) to create a new manifest.json."
134134
)
135135
else:
136136
return self.get_run_results_models()

0 commit comments

Comments
 (0)