diff --git a/core/dbt/context/providers.py b/core/dbt/context/providers.py index 996d5027c58..7a6344f1a8e 100644 --- a/core/dbt/context/providers.py +++ b/core/dbt/context/providers.py @@ -862,8 +862,7 @@ def try_or_compiler_error( def load_agate_table(self) -> agate.Table: if not isinstance(self.model, SeedNode): raise LoadAgateTableNotSeedError(self.model.resource_type, node=self.model) - assert self.model.root_path - path = os.path.join(self.model.root_path, self.model.original_file_path) + path = os.path.join(self.config.project_root, self.model.original_file_path) column_types = self.model.config.column_types delimiter = self.model.config.delimiter try: