Forum Discussion

TheFifthJoin's avatar
TheFifthJoin
Advocate I
1 year ago
Solved

Dataflow Gen2 to Schema Lakehouse

My dataflows are erroring when pointing them towards a table in a schema on my lakehouse and I have no idea why.   The best error description I can get is "Job instance failed without detail error"...
  • DataBard's avatar
    DataBard
    1 year ago

    Ah, I see what you're saying.

     

    I tried replicating your test. Upon testing it further, I think your initial assertion is correct that the schema destination is not supported yet.

     

    In my example, I have a Bronze schema. I started having the dataflow create a new table. The UI for the destination doesn't allow me to input a schema anywhere. I can see my schema'd tables with a {schema}.{tablename} notation, so I tried that and got the same error as you:

    As a workaround, I tried creating the table by hand and pointing my dataflow to the existing table. I was able to map the columns from my source to the destination table with the schema. However, upon saving and running, the dataflow fails:

     

    Based on the UI only giving you a place to enter a table name, I don't think you can yet reference a non-dbo schema because the dataflow still expects a table name, not table and schema. It then assumes the schema to be dbo.

     

    I tried to search for additional resources of people reporting similar issues. I didn't find any other conversations on Dataflow Gen2 to lakehouse. However, I did find a Warehouse forum question and one Reddit thread where someone was trying to interact with warehouses and had a similar experience trying to write to a non-dbo schema. Based on the response in the Fabric forum, it's on the roadmap to support this, but hasn't been addressed yet: 

    Solved: Re: Dataflow Gen2 writing to Warehouse - how to ch... - Microsoft Fabric Community

    Dataflows Gen2 - How to specify a schema when writing to a data warehouse : r/MicrosoftFabric

     

    My guess would be that if non-dbo schemas in the warehouse aren't supported by Dataflow Gen 2, they likely don't support the same thing in lakehouse schemas yet.

     

    Hopefully this helps. If you have follow-up questions, please ask away. If not, be sure to mark your answer for this question so other users can learn from your question!