I am getting this error "AnalysisException: Cannot redefine dataset" in my DLT pipeline. I am using a for loop to trigger multiple flows. I am trying to load different sources into the same target using dlt.create_target_table and dlt.apply_changes. So my pipeline is trying to define the same target tables for different inputs.
My inputs are [{Source: src_A, Target: tgt},{Source: src_B, Target: tgt}]
. As mentioned in the data bricks cook book, is Union the only choice to combine multiple sources into one target? Can anyone help on this one.