Forum Discussion

MOVC's avatar
MOVC
Icon for Resolver I rankResolver I
2 years ago
Solved

On Prem SQL Server to Fabric Warehouse via Copy Data

I've been testing the Copy Data activity from On Prem SQL server via a Data Gateway which was recently made available. I have successfully managed to load into a Lakehouse, but when trying to get Data into a Warehouse it requires that staging is enabled but does not support Workspace Staging and needs a connection to an Azure Environment. I'm assuming this is intentional, but are there any plans to allow this to use the StagingWarehouse objects in the future? It would be nice to keep everything in OneLake which would seem to fit with it's described purpose.

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi MOVC , Joshrodgers123 , ShaunBrewer 

    Internal Team confimed that, it is on the roadmap. At present we don't have any ETA. But we can expect this feature in future.

9 Replies

  • I posted the same thing yesterday. Seems to go against the "OneLake" concept to have to bring additional Azure resources to copy to a warehouse.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi MOVC ,

    Thanks for using Fabric Community.

    A simple workaround is by loading this to a cloud Lakehouse first, and then another copy activity to write that to WH.

    In between we are also reaching out to the internal team to get some help on this .
    We will update you once we hear back from them.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi MOVC , Joshrodgers123 , ShaunBrewer 

      Internal Team confimed that, it is on the roadmap. At present we don't have any ETA. But we can expect this feature in future.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi MOVC ,

        Glad to know that your query was resolved. Please continue using Fabric Community on your further queries.

  • smeetsh's avatar
    smeetsh
    Icon for Continued Contributor rankContinued Contributor

    One work around may be to use the gateway to get the information, but in stead of writing it to a table, you write it to a scv file, in the next activity you read that csv file and ingest into the warehouse. We ingest several csv files that way.

    This way the lakehouse is only used to store a file, and nothing else.

  • Currently, it is not possible to directly copy data from an on-premises SQL Server (via the gateway) to a Fabric Warehouse. The recommended workaround is to first copy data from SQL Server to a Lakehouse (copy actiovity 1)and then move it from the Lakehouse to the Warehouse (Copy Activity 2). However, this is not an optimal solution, especially for small datasets, as it introduces unnecessary complexity and inefficiency.

    We request the Fabric team to address this issue as soon as possible. Delaying this feature may lead to significant rework in the future if direct data transfer from SQL Server to the Warehouse is eventually enabled.