Skip to content

Commit

Permalink
[#3885] Handle env_vars in partial parsing of SQL files (#4101)
Browse files Browse the repository at this point in the history
* [#3885] Handle env_vars in partial parsing

* Comment method to build env_vars_to_source_files

automatic commit by git-black, original commits:
  32c5598
  73af9a5
  • Loading branch information
gshank authored and iknox-fa committed Feb 8, 2022
1 parent 7505a45 commit 0d834a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/dbt/task/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,7 @@ def _materialization_relations(self, result: Any, model) -> List[BaseRelation]:
raise CompilationException(msg, node=model)

def execute(self, model, manifest):
context = generate_runtime_model_context(
model, self.config, manifest
)
context = generate_runtime_model_context(model, self.config, manifest)

materialization_macro = manifest.find_materialization_macro_by_name(
self.config.project_name, model.get_materialization(), self.adapter.type()
Expand Down

0 comments on commit 0d834a5

Please sign in to comment.