05-28-2025 07:13 AM
I am having an issue when trying to do a full refresh of a DLT pipeline.
05-29-2025 05:59 AM
Hi @CJOkpala, it looks like the error is happening because the table animal_settings_hie_dim already exists. To fix this, start by dropping the existing table:
DROP TABLE IF EXISTS aadp_dev.edwa_stream.animal_settings_hie_dim;
Next, update your DLT pipeline to use the @dlt.create_or_refresh_streaming_table decorator. This allows the pipeline to handle table recreation properly during full refreshes.
@dlt.create_or_refresh_streaming_table(name="animal_settings_hie_dim") def create_table(): return dlt.read_stream("source")
Once you've dropped the table and updated the pipeline, run a full refresh. This should recreate the table cleanly and resolve the issue.
06-02-2025 02:11 AM
06-05-2025 01:48 AM
Can someone help me with this further? I am still having the error.
06-06-2025 11:14 AM
Are you facing the same issue, If you give a different name in the dlt decorator for the table?
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now