I was using a target and figured it will be useful...
# troubleshooting
p
I was using a target and figured it will be useful to have batch_numbers; if the source and filter is same batch number can provide idempotency for downstream tasks but there is only batch_id and batch_time both of which are generated on runtime hence for the same source and same filter we get different batch config even if the batch is identical, it this solved or discussed?
I think I can quickly do something like:
context["batch_number"] = self._total_records_written / self.max_size
in the
process_batch
but would be a good add
especially useful to stream which have replication
this doesn't work