<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to import Warehouse View in Dataflow Gen2? in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-import-Warehouse-View-in-Dataflow-Gen2/m-p/4024734#M3310</link>
    <description>&lt;P&gt;I've already tried that, as mentioned in my post, and it doesn't work. Running that procedure throws the error "The query references an object that is not supported in distributed processing mode".&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 09:23:30 GMT</pubDate>
    <dc:creator>rvp_ordix</dc:creator>
    <dc:date>2024-07-04T09:23:30Z</dc:date>
    <item>
      <title>How to import Warehouse View in Dataflow Gen2?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-import-Warehouse-View-in-Dataflow-Gen2/m-p/4022916#M3298</link>
      <description>&lt;P&gt;My data is stored various tables of a Fabric Warehouse, and now I want to build a Dataflow to transform that data. To do that, however, I need to create a control table from the various Views of INFORMATION_SCHEMA within that Warehouse and I haven't found a way to achieve that. This is the query I want to implement in Fabric.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Pressing "Get Data" and then selecting the Warehouse only shows tables, not the views I need. I can't construct the table via Warehouse's Query Editor either, since inserting anything from those Views would always return the error "&lt;SPAN&gt;The query references an object that is not supported in distributed processing mode."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How am I meant to do this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 12:52:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-import-Warehouse-View-in-Dataflow-Gen2/m-p/4022916#M3298</guid>
      <dc:creator>rvp_ordix</dc:creator>
      <dc:date>2024-07-03T12:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to import Warehouse View in Dataflow Gen2?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-import-Warehouse-View-in-Dataflow-Gen2/m-p/4024315#M3309</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="769835" data-lia-user-login="rvp_ordix" class="lia-mention lia-mention-user"&gt;rvp_ordix&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create the storage table with the following sql statement.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CREATE PROCEDURE PopulateControlTable AS
BEGIN
    -- Insert data from 'datamart' schema
    INSERT INTO ControlTable (TABLE_NAME)
    SELECT TABLE_NAME
    FROM INFORMATION_SCHEMA.TABLES
    WHERE TABLE_TYPE = 'BASE TABLE'
    AND TABLE_SCHEMA = 'datamart';
    
    -- Insert data from 'core' schema
    INSERT INTO ControlTable (TABLE_NAME)
    SELECT TABLE_NAME
    FROM INFORMATION_SCHEMA.TABLES
    WHERE TABLE_TYPE = 'BASE TABLE'
    AND TABLE_SCHEMA = 'core';
    
    -- Insert data from 'staging' schema
    INSERT INTO ControlTable (TABLE_NAME)
    SELECT TABLE_NAME
    FROM INFORMATION_SCHEMA.TABLES
    WHERE TABLE_TYPE = 'BASE TABLE'
    AND TABLE_SCHEMA = 'staging';
END;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Adamk Kong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 06:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-import-Warehouse-View-in-Dataflow-Gen2/m-p/4024315#M3309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-04T06:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to import Warehouse View in Dataflow Gen2?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-import-Warehouse-View-in-Dataflow-Gen2/m-p/4024734#M3310</link>
      <description>&lt;P&gt;I've already tried that, as mentioned in my post, and it doesn't work. Running that procedure throws the error "The query references an object that is not supported in distributed processing mode".&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 09:23:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-import-Warehouse-View-in-Dataflow-Gen2/m-p/4024734#M3310</guid>
      <dc:creator>rvp_ordix</dc:creator>
      <dc:date>2024-07-04T09:23:30Z</dc:date>
    </item>
  </channel>
</rss>

