Forum Discussion
Dataflow Gen 2 query or table changes appear to cause errors or failures
- 3 years ago
If I'm understading your scenario correctly:
- You're setting the output destination of queries to the Lakehouse (tables)
- You're modufying the queries in ways that change the schema
- After those changes, refresh is failing
If so, the way to address this is to reconfigure the output destination after the schema changes. In the Query Settings pane of the Query Editor, you will see the Output Destination section at the bottom. Clicking on the "X" will remove the current settings and then you can reconfigure the destination (including specifying a new column mapping).
We are looking into a future mode that does not require explicit remapping for disruptive schema changes.
Note: you will also have to delete the previous Lakehouse table (if you'd like to use the same table for the new schema).
If you using the "Existing Table" flow (instead of "New Table"), the schema of the existing table will not be altered.
Thanks