Skip to content

Commit

Permalink
move schema creation to after hooks (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbanin authored and cmcarthur committed Feb 27, 2018
1 parent 032a563 commit 6783966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/node_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,8 @@ def create_schemas(cls, project, adapter, flat_graph):

@classmethod
def before_run(cls, project, adapter, flat_graph):
cls.create_schemas(project, adapter, flat_graph)
cls.safe_run_hooks(project, adapter, flat_graph, RunHookType.Start)
cls.create_schemas(project, adapter, flat_graph)

@classmethod
def print_results_line(cls, results, execution_time):
Expand Down

0 comments on commit 6783966

Please sign in to comment.