<?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 Snowflake Bulk exec - strip outer array in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-Bulk-exec-strip-outer-array/m-p/2295988#M68695</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get api response that has structure like&lt;/P&gt;&lt;P&gt;{ "metadata":{},&lt;/P&gt;&lt;P&gt;   "values": [&lt;/P&gt;&lt;P&gt;             "transaction1":{"key1":"value1"},&lt;/P&gt;&lt;P&gt;             &lt;/P&gt;&lt;P&gt;"transaction2":{"key2":"value2"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  ]}&lt;/P&gt; . &lt;P&gt;I wanted to load only values part into snowflake. It is very huge json response. So I want to split each value from json response to one row in snowflake using &lt;/P&gt;&lt;P&gt;STRIP_OUTER_ARRAY=TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trest -&amp;gt; textractJSON field -&amp;gt; tsnowflakebulkexec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in textractjsonfield, i m reading values part and sending it to next component. The file that is put in snowflake has below format "[""transaction1"":{""key1"":""value1""}, ""transaction2"":{""key2"":""value2""}]"" and so i m not able to use STRIP_OUTER_ARRAY=TRUE in custom copy command in snowflake bulkoutputexec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enclosing array in " and escaping every " with " is happening internally. Is there something I can do to make it work? Any suggestion are welcome&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Talend 7.3&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:02:12 GMT</pubDate>
    <dc:creator>NNot_defined1646723267</dc:creator>
    <dc:date>2024-11-15T23:02:12Z</dc:date>
    <item>
      <title>Snowflake Bulk exec - strip outer array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-Bulk-exec-strip-outer-array/m-p/2295988#M68695</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get api response that has structure like&lt;/P&gt;&lt;P&gt;{ "metadata":{},&lt;/P&gt;&lt;P&gt;   "values": [&lt;/P&gt;&lt;P&gt;             "transaction1":{"key1":"value1"},&lt;/P&gt;&lt;P&gt;             &lt;/P&gt;&lt;P&gt;"transaction2":{"key2":"value2"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  ]}&lt;/P&gt; . &lt;P&gt;I wanted to load only values part into snowflake. It is very huge json response. So I want to split each value from json response to one row in snowflake using &lt;/P&gt;&lt;P&gt;STRIP_OUTER_ARRAY=TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trest -&amp;gt; textractJSON field -&amp;gt; tsnowflakebulkexec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in textractjsonfield, i m reading values part and sending it to next component. The file that is put in snowflake has below format "[""transaction1"":{""key1"":""value1""}, ""transaction2"":{""key2"":""value2""}]"" and so i m not able to use STRIP_OUTER_ARRAY=TRUE in custom copy command in snowflake bulkoutputexec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enclosing array in " and escaping every " with " is happening internally. Is there something I can do to make it work? Any suggestion are welcome&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Talend 7.3&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-Bulk-exec-strip-outer-array/m-p/2295988#M68695</guid>
      <dc:creator>NNot_defined1646723267</dc:creator>
      <dc:date>2024-11-15T23:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake Bulk exec - strip outer array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-Bulk-exec-strip-outer-array/m-p/2295989#M68696</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Did you find answer to this question ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 19:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-Bulk-exec-strip-outer-array/m-p/2295989#M68696</guid>
      <dc:creator>Jai1</dc:creator>
      <dc:date>2023-10-19T19:31:24Z</dc:date>
    </item>
  </channel>
</rss>

