diff --git a/core/dbt/parser/schemas.py b/core/dbt/parser/schemas.py index e0623074d7d..c2a8b798c5a 100644 --- a/core/dbt/parser/schemas.py +++ b/core/dbt/parser/schemas.py @@ -286,7 +286,8 @@ def _add_yaml_snapshot_nodes_to_manifest( # Reuse the logic of SnapshotParser as far as possible to create # a new node we can add to the manifest. parser = SnapshotParser(self.project, self.manifest, self.root_project) - fqn = [self.project.project_name, "snapshots", snapshot["name"]] + fqn = parser.get_fqn_prefix(block.path.relative_path) + fqn.append(snapshot["name"]) snapshot_node = parser._create_parsetime_node( block, self.get_compiled_path(block),