Skip to content

Commit

Permalink
use populate_cache flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenyuLInx committed Apr 11, 2023
1 parent 46d1781 commit 762a3f6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/dbt/task/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ class CompileTask(GraphRunnableTask):
# it should be removed before the task is complete
_inline_node_id = None

# TODO remove when stu's PR about skip adapter cache is merged
def before_run(self, adapter, selected_uids: AbstractSet[str]):
if bool(getattr(self.args, "inline", None)):
# don't populate adapter cache when doing inline queries
pass
else:
super().before_run(adapter, selected_uids)

def raise_on_first_error(self):
return True

Expand Down

0 comments on commit 762a3f6

Please sign in to comment.