Cargar las semillas de la maestra al construir oro
This commit is contained in:
@@ -155,7 +155,7 @@ def analyze():
|
|||||||
def build_gold(context: dg.OpExecutionContext) -> None:
|
def build_gold(context: dg.OpExecutionContext) -> None:
|
||||||
"""Silver and everything derived from it, with the deployed code: what an ingest ends
|
"""Silver and everything derived from it, with the deployed code: what an ingest ends
|
||||||
with, without ingesting (after deploying a version that changes the tables)."""
|
with, without ingesting (after deploying a version that changes the tables)."""
|
||||||
silver.build(["silver+"])
|
silver.build(["silver+", "+nci_risk_lookup", "nci_risk_estimate"])
|
||||||
context.log.info("silver and gold rebuilt")
|
context.log.info("silver and gold rebuilt")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -543,5 +543,7 @@ def run(pipeline_id: str, pipeline: Pipeline, log: Callable[[str], None] = print
|
|||||||
RUNNERS[node.kind](pipeline_id, node)
|
RUNNERS[node.kind](pipeline_id, node)
|
||||||
log(f"{node.id} ({node.kind}) done")
|
log(f"{node.id} ({node.kind}) done")
|
||||||
if entities := sorted({n.entity for n in pipeline.nodes if n.kind == "target"}):
|
if entities := sorted({n.entity for n in pipeline.nodes if n.kind == "target"}):
|
||||||
silver.build(["silver+"]) # every entity (empty if never staged) and what derives
|
silver.build(
|
||||||
|
["silver+", "+nci_risk_lookup"]
|
||||||
|
) # every entity (empty if never staged) and what derives
|
||||||
log(f"silver and gold, from {', '.join(entities)}")
|
log(f"silver and gold, from {', '.join(entities)}")
|
||||||
|
|||||||
Reference in New Issue
Block a user