Skip to content

Commit

Permalink
Modify scheme used for forming snapshot fqn to better match other res…
Browse files Browse the repository at this point in the history
…ources.
  • Loading branch information
peterallenwebb committed Sep 23, 2024
1 parent 5743edc commit 86cf015
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/dbt/parser/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 86cf015

Please sign in to comment.