-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query across multiple workspaces #220
Comments
In the current fabric implementation you cannot do this via the SQL Endpoints that DBT uses. You could use the 'shortcut' feature of Fabric if your data lives in a Lakehouse maybe? |
@M4Al thanks for your response. |
You can access shortcuts in a lakehouse from your warehouse as long as they are in the same workspace using 3 part naming. In your query include the lakehouse name, e.g. select * from lakehouse_name.schema_name.shortcut_name. We define them as sources in our projects. The source macro will then automatically create queries using 3 part naming.
|
If this capability isn't on the roadmap, it should be. My company has used the 'shortcut' method, but we shouldn't have to. We should be able to read across WS and still write to the same DW, if the user has access to those workspaces. I imagine we would have to define a fabric specific workspace property to further define and link to read those LH/DW. |
Shortcut capability is in the roadmap to the DW as well. Currently, the only way to access data from other workspace is to create a shortcut from LH or duplicate data. With DW shortcut capability, the tables from other DW's in the same/across workspaces can be accessed in the same DW, similar to LH. Once this feature is enabled by the platform, the adapter will support shortcut sources from different workspaces. |
Yes, dbt-fabricspark creates shortcuts for you to access data from other LHs in the same or different workspaces and then access data. This is not currently possible with DW though. |
We'd love to see this functionality from Microsoft too. Having to create a separate CI/CD process outside of dbt Cloud orchestration to facilitate shortcut creation is not an ideal workaround. |
I will add the ability to add shortcuts to the warehouse via json for automation purposes as part of dbt run infrastructure. |
Hi there,
I want to know is it psosible to query across multiple workspaces?
My project has strict data privacy requirements.
I want to two workspaces.
I want my dbt project to read from raw data workspace and write to the prod workspace. Is that possible?
The text was updated successfully, but these errors were encountered: