<?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: Load XML file to variant data type column in Snowflake in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334503#M103166</link>
    <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp; - It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Design:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFileInputRaw - &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tDBRow - &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Apr 2021 02:33:05 GMT</pubDate>
    <dc:creator>vvazza10</dc:creator>
    <dc:date>2021-04-25T02:33:05Z</dc:date>
    <item>
      <title>Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334497#M103160</link>
      <description>&lt;P&gt;Hi ! I am trying to load contents of a complete XML file to variant column in Snowflake. tFileInputXML component seem to read rows from the fields in XML. Please advise what components and design approach can i use to load complete XML to variant column of a table in snowflake?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334497#M103160</guid>
      <dc:creator>vvazza10</dc:creator>
      <dc:date>2024-11-16T00:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334498#M103161</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Are you able to insert an entire XML into Snowflake via tDBRow component?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 09:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334498#M103161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-01T09:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334499#M103162</link>
      <description>&lt;P&gt;Hi Sabrina ! I was able to load the entire XML through tFileInputRaw with schema being document and and moved the file to S3 and loaded to snowflake table using tDBBulkExec. Is there any other way?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 13:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334499#M103162</guid>
      <dc:creator>vvazza10</dc:creator>
      <dc:date>2021-04-02T13:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334500#M103163</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please try to insert an entire XML into Snowflake via tDBRow component and the sql is this with Prepared Statement :&lt;/P&gt;&lt;P&gt;"INSERT INTO &amp;lt;tablename&amp;gt; SELECT ?, PARSE_XML".&lt;/P&gt;&lt;P&gt;&amp;nbsp;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 04:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334500#M103163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-06T04:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334501#M103164</link>
      <description>&lt;P&gt;Thank you, Sabrina !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to insert multiple rows to snowflake table from tXMLMap using user defined Insert sql query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 19:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334501#M103164</guid>
      <dc:creator>vvazza10</dc:creator>
      <dc:date>2021-04-08T19:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334502#M103165</link>
      <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp;Hi Sabrina ! Could you tell me how to make this prepared statement? I tried the following statement and it failed - &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"INSERT INTO TABLE_A SELECT ?, PARSE_XML"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The design flow is -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tfileInputRaw -&amp;gt; tDBRow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In tFileInputRaw, I chose "Stream the file"&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 02:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334502#M103165</guid>
      <dc:creator>vvazza10</dc:creator>
      <dc:date>2021-04-25T02:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334503#M103166</link>
      <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp; - It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Design:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFileInputRaw - &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tDBRow - &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 02:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334503#M103166</guid>
      <dc:creator>vvazza10</dc:creator>
      <dc:date>2021-04-25T02:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334504#M103167</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please refer to this online component reference about: T&lt;A href="https://help.talend.com/r/RBxaTF4SRNU6VOF1XS5QNw/g66Kdpfrm7G4yh7_clR6QQ" alt="https://help.talend.com/r/RBxaTF4SRNU6VOF1XS5QNw/g66Kdpfrm7G4yh7_clR6QQ" target="_blank"&gt;alendHelpCenter: tSnowflakeRow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to query the database using a prepared statement, you will select "Use PreparedStatement" option in advanced setting of tSnowflakeRow.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 04:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334504#M103167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-25T04:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334505#M103168</link>
      <description>&lt;P&gt;Thanks, Sabrina ! I have used prepared statement and it worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But how do you generally recommend XML data to be loaded to Snowflake via Talend? Loading the XML as variant and then querying using snowflake FLATTEN queries or using Talend components and load like tFileInputXML -&amp;gt; tFileOutputDelimited (csv) -&amp;gt; Snowflake?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 23:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334505#M103168</guid>
      <dc:creator>vvazza10</dc:creator>
      <dc:date>2021-04-25T23:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334506#M103169</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It usually depends on your job requirement.&lt;/P&gt;&lt;P&gt; We have added support VARIANT type in tSnowflakeOutput and tSnowflakeInput since V 6.5.1 and 7.0.1.&lt;/P&gt;&lt;P&gt;Using tSnowlakeInput, tSnowflakeOutput - easy read and write without using complex queries.&lt;/P&gt;&lt;P&gt;If use tSnowflakeRow be aware of &lt;B&gt;write&lt;/B&gt; restriction - Snowflake JDBC doesn't allow complex batch queries.&lt;/P&gt;&lt;P&gt;But it's possible to write in standard(not batch) mode.  And it's preferable to use tSnowflakeOutput for write operations. On the other hand tSnowflakeRow is very good for reading data from Snowflake, even complex since you're using query. &lt;/P&gt;&lt;P&gt;Feel free to let us know if it helps.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 05:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334506#M103169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-26T05:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file to variant data type column in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334507#M103170</link>
      <description>&lt;P&gt;I'm trying to load data from SQL server to snowflake table with variant data type. The data type of said columnin sql server is varchar(max) containing xml data. I'm unable to load it into the snowflake table with Variant data type. However it does work when the snowflake table column is varchar data type. any ideas how to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tdbinput &amp;gt; tsnowflakeoutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 21:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-to-variant-data-type-column-in-Snowflake/m-p/2334507#M103170</guid>
      <dc:creator>ar7368</dc:creator>
      <dc:date>2021-10-27T21:22:29Z</dc:date>
    </item>
  </channel>
</rss>

