Forum Discussion

dhorrall's avatar
dhorrall
Advocate I
3 years ago
Solved

Dataflow (Gen2): Specifying target table schema if is a new table

I tried to create a new table in a target Warehouse.

When I tried to create a new table with tst.theTable, 

 

I ended up with:

It seems to use the schema from the 'source' table I was extracting from (which was 'coupa')

I see no place to specifiy the target schema explicitly other than what I tried with 'dot' notation in the table name field.

 

Putting aside the fact that I am writing to a Fabric Warehouse, even though I chose Azure SQL Server as the target.  This seems like a bug.

 

 

9 Replies

  • miguel's avatar
    miguel
    Community Admin

    Thank you for the feedback! I went ahead and forwarded this information to the appropriate internal team so they can take a look at this thread.

  • SidJay's avatar
    SidJay
    Microsoft Employee

    There isn't currently a way to customize the schema. We are tracking this as a feature gap.

  • Run into the same issue.

    We need a possibility to choose a schema.

  • danjo914's avatar
    danjo914
    Frequent Visitor

    A crude workaround involves initially creating the table within the desired schema, then selecting it as an existing table in your dataflow. Afterwards, you can utilize the dataflow to generate the table under the dbo schema, perform a drop and create action to move it to the new schema, and redirect the dataflow. Note that default data types like bigints and varchar (8000) will be applied initially, but they can be corrected using the drop & create query.

    • webchris's avatar
      webchris
      Advocate III
      Okay great, this will definately help. Many thanks for the idea!