Guillaume Tauzin
07/25/2024, 9:10 AMconfirms
attribute to trigger CHECKPOINT update further down my pipeline. When I run the pipeline, I get:
Dataset 'my_dataset' does not have 'data_increments' method
Without, specifying confirms
at all OR without using namespaces at all, pipeline runs successfully. Is this intended behavior or did I miss something?
Thanks 🙂Rashida Kanchwala
07/25/2024, 9:14 AMconfirms
attribute?Guillaume Tauzin
07/25/2024, 9:24 AMfrom kedro.pipeline import Pipeline, node, pipeline
from .nodes import (
concatenate_increments,
concatenate_partitions,
)
def create_pipeline(**kwargs) -> Pipeline:
template_pipeline = pipeline(
[
node(
concatenate_increments,
inputs="data_increments",
outputs="concatenated_data_increments",
name="concatenate_increments",
),
node(
concatenate_partitions,
inputs="partitioned_concatenated_data",
outputs="extracted_datas",
name="concatenate_partitions",
confirms="data_increments",
),
]
)
n = 3
pipelines = pipeline(
pipe=template_pipeline,
namespace="1",
)
for id in range(2, n+1):
pipelines += pipeline(
pipe=template_pipeline,
namespace=str(id),
)
return pipelines
Guillaume Tauzin
07/25/2024, 9:28 AMkedro.pipeline.pipeline.ConfirmNotUniqueError: ['data_increments'] datasets are confirmed by more than one node. Node confirms must be unique.
Nok Lam Chan
07/25/2024, 9:44 AMconfirm
is not "namespaced", but it's also rare you need both namespace
and Incremental datasetGuillaume Tauzin
07/25/2024, 9:53 AMGuillaume Tauzin
07/25/2024, 10:10 AMconfirms
. I'll come up with a more detailed question.Guillaume Tauzin
07/25/2024, 11:25 AMNok Lam Chan
07/25/2024, 11:30 AMGuillaume Tauzin
07/25/2024, 11:33 AMNok Lam Chan
07/25/2024, 11:35 AMGuillaume Tauzin
07/25/2024, 12:00 PMGuillaume Tauzin
07/29/2024, 6:21 AM