<?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: Can Qlik replicate into a table which has a same name as view? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Can-Qlik-replicate-into-a-table-which-has-a-same-name-as-view/m-p/2468144#M11851</link>
    <description>&lt;P&gt;Hello Desmond,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;Basically there are 2 types of VIEWs in Snowflake:&lt;/P&gt;
&lt;P&gt;•&amp;nbsp; Non-materialized views (usually simply referred to as "Views"). it's READ-ONLY.&lt;/P&gt;
&lt;P&gt;•&amp;nbsp; Materialized Views (referred to "MV"). it's read-write.&lt;/P&gt;
&lt;P&gt;So it's impossible to replicate data into regular VIEW(s). You may try to write to MV by changing the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Target Table Preparation&lt;/STRONG&gt; to &lt;STRONG&gt;DO&amp;nbsp;NOTHING&lt;/STRONG&gt;, screen sample:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1720143205773.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168929i4540976920EBE2FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_0-1720143205773.png" alt="john_wang_0-1720143205773.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2024 01:33:55 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2024-07-05T01:33:55Z</dc:date>
    <item>
      <title>Can Qlik replicate into a table which has a same name as view?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-Qlik-replicate-into-a-table-which-has-a-same-name-as-view/m-p/2468138#M11849</link>
      <description>&lt;P&gt;We are replicating from MySQL into Snowflake endpoint. The target endpoint has a view having same name as a table.&lt;/P&gt;
&lt;P&gt;A task has failed to load. Having error below due to the table having same name as a view in Snowflake.&lt;/P&gt;
&lt;P&gt;00012228: 2024-07-04T20:44:15:581142 [TARGET_LOAD ]E: Failed (retcode -1) to execute statement: CREATE TABLE "SCHEMA"."TABLE20" ( ..............&lt;BR /&gt;columns A,B,C,D, etc....&lt;BR /&gt;..........&lt;BR /&gt;(ar_odbc_stmt.c:5038)&lt;BR /&gt;00012228: 2024-07-04T20:44:15:581142 [TARGET_LOAD ]E: RetCode: SQL_ERROR SqlState: 42710 NativeError: 1998 Message: SQL compilation error:&lt;BR /&gt;Object 'TABLE20' already exists as VIEW [1022502] (ar_odbc_stmt.c:5046)&lt;/P&gt;
&lt;P&gt;Once I change the view to another name, I am able to load the table.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 00:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-Qlik-replicate-into-a-table-which-has-a-same-name-as-view/m-p/2468138#M11849</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2024-07-05T00:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can Qlik replicate into a table which has a same name as view?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-Qlik-replicate-into-a-table-which-has-a-same-name-as-view/m-p/2468144#M11851</link>
      <description>&lt;P&gt;Hello Desmond,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;Basically there are 2 types of VIEWs in Snowflake:&lt;/P&gt;
&lt;P&gt;•&amp;nbsp; Non-materialized views (usually simply referred to as "Views"). it's READ-ONLY.&lt;/P&gt;
&lt;P&gt;•&amp;nbsp; Materialized Views (referred to "MV"). it's read-write.&lt;/P&gt;
&lt;P&gt;So it's impossible to replicate data into regular VIEW(s). You may try to write to MV by changing the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Target Table Preparation&lt;/STRONG&gt; to &lt;STRONG&gt;DO&amp;nbsp;NOTHING&lt;/STRONG&gt;, screen sample:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1720143205773.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168929i4540976920EBE2FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_0-1720143205773.png" alt="john_wang_0-1720143205773.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 01:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-Qlik-replicate-into-a-table-which-has-a-same-name-as-view/m-p/2468144#M11851</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-05T01:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can Qlik replicate into a table which has a same name as view?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-Qlik-replicate-into-a-table-which-has-a-same-name-as-view/m-p/2468146#M11852</link>
      <description>&lt;P&gt;BTW,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;, please take note that in general the VIEW data is subset of the underlying table, if you replicate data into&amp;nbsp;&lt;SPAN&gt;Materialized Views, maybe some columns in the underlying table(s) are empty/null.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In short, we'd like suggest you to use TABLE as target side object instead of&amp;nbsp;Materialized View.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 01:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-Qlik-replicate-into-a-table-which-has-a-same-name-as-view/m-p/2468146#M11852</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-05T01:40:21Z</dc:date>
    </item>
  </channel>
</rss>

