r/MicrosoftFabric • u/x-fyre • 9h ago
Data Warehouse Warehouse Git Integration is Beyond Frustrating
I joined an already in progress project a few weeks ago and they're using a Warehouse. On the surface it looks good - schemas, table defs, sprocs, views, all end up in the repo. I can even download a "zipped project" from the menu bar.
Try to update your workspace with changes someone else made or you made in your desktop-VS-Code version, wow. The fun ends there.
- Reordered two columns in a table definition by mistake? (or simply added them in a different order than they did) Broken, unable to resolve the conflict.
- (same as adding a brand new column, better patch that table first)
- Having trouble with a Shared Query that ended up in Git which somewhere along the lines disappeared during the sync? Forget it, it's gone. Can't add it back under the same name either.
- (there appears to be some magic to this relationship not exposed to git, yikes)
- (this feature is buns, I hate Shared Queries)
- Did someone delete a view, commit the change, and you also deleted the view prior to sync'ing? Sync'ing of the WH is now broken - it wants those views back no matter what you think!
- (Undo'ing the delete ... gets part way there, until this just appears again)
- Delete the entire damn warehouse and try to get a new copy from the repo? Sorry, that doesn't really clear the workspace's cache and we're going to just make you go through the same song and dance again.
Either do it properly or don't do it. This has been the _worst_ Fabric experience to date. I am beyond frustrated.
The worst part is that it also means there is no clear way to keep the dev-git-connected workspace in sync without manually running some updates before attempting to sync. You can't create a SQL script or Notebook to do patching with your branch-pull-requested-into-main.. because if the Warehouse alphabetically comes first, those Notebooks don't get added/updated because it can't sync.
The fun part is that when I delete the warehouse and bring it back, I have to "apply the system update" over and over because I guess it changes the git repo (but no changes show up under Source Control/Change).
I don't understand why I can't update individual items. I understand it could break things if objects depend on each other, but I don't care.
