<?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: Need help with JSON flatted file and Bulk insert Snowflake block in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2049850#M1540</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137484"&gt;@MartijnWanders&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;What is the error you are getting? Can you please share the screenshot of the same also can we know the exact use case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Madhushree&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2023 06:21:34 GMT</pubDate>
    <dc:creator>Madhushree_BP</dc:creator>
    <dc:date>2023-03-16T06:21:34Z</dc:date>
    <item>
      <title>Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2043765#M1411</link>
      <description>&lt;P&gt;Hi People,&lt;/P&gt;
&lt;P&gt;In the attachment is a Automation. I want to flatten the JSON file and insert this in Snowflake. In the Output block you can see what I'm expecting.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MartijnWanders_1-1677672674949.png" style="width: 800px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/101676i165972818801AD70/image-dimensions/800x166?v=v2" width="800" height="166" role="button" title="MartijnWanders_1-1677672674949.png" alt="MartijnWanders_1-1677672674949.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MartijnWanders_0-1677672646425.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/101675i988B51DE70BFC8D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MartijnWanders_0-1677672646425.png" alt="MartijnWanders_0-1677672646425.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I flatten the file in vList. If I want to map a column in vObject I get no output to do so. It must be simple but I don't see it anymore.&lt;/P&gt;
&lt;P&gt;Can somebody help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 12:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2043765#M1411</guid>
      <dc:creator>MartijnWanders</dc:creator>
      <dc:date>2023-03-01T12:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2047122#M1500</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137484"&gt;@MartijnWanders&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Do you want to map the values of the Flatten vList in the vObject such that you can output using the &lt;STRONG&gt;output&lt;/STRONG&gt; block? Let me know if my understanding is correct.&lt;BR /&gt;&lt;BR /&gt;If so, Did you try using the operation "&lt;STRONG&gt;Set equal to object&lt;/STRONG&gt;" in the&amp;nbsp;&lt;SPAN&gt;vObject block? I have updated the automation and shared please have a look.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if this is what you expected as the output.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;BR /&gt;Madhushree&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 05:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2047122#M1500</guid>
      <dc:creator>Madhushree_BP</dc:creator>
      <dc:date>2023-03-09T05:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2047128#M1501</link>
      <description>&lt;P&gt;Hi Madhushree,&lt;/P&gt;
&lt;P&gt;That is exactly what I want but instead of the Output block it must be in the Snowflake Bulk block. That block is expecting a JSON file. I don't know the "Set equal to object" function. I tried but get an error, see below.&lt;/P&gt;
&lt;DIV class="json-block-open" data-v-05a469cc=""&gt;
&lt;DIV class="u-relative json-level" data-v-05a469cc="" data-testid="json-level"&gt;
&lt;DIV class="u-flex-child json-level u-flex-wrap" data-v-05a469cc=""&gt;
&lt;DIV class="json-header" data-v-05a469cc=""&gt;
&lt;DIV class="json-key" data-v-05a469cc="" data-testid="json-viewer-key"&gt;error:&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="json-value" data-v-05a469cc=""&gt;&lt;SPAN data-v-05a469cc=""&gt;SQLSTATE[42000]: Syntax error or access violation: 1003 SQL compilation error: syntax error line 1 at position 134 unexpected '.'. (SQL: insert into "LANDING"."test" ("category"."id", "category"."name", "id", "name", "photoUrls"."0", "photoUrls"."1", "status", "tags"."0"."id", "tags"."0"."name", "tags"."1"."id", "tags"."1"."name") values (-93773065, ullamco pariatur qui, 33497253, doggie, incididunt adipisicing, do Excepteur dolor, pending, -86565557, dolor in deserunt , 8624085, laborum nisi consequat magna), (-96087438, eu qui, 9223372036854768481, doggie, deserunt nostrud pariatur do, exercitation, pending, 2238351, officia amet aute, 72981749, in in voluptate dolore fugiat), (-93970098, nulla occaecat eiusmod cupidatat mollit, 9223372036854768482, doggie, fugiat dolor est reprehenderit, ipsum magna ea nisi, pending, -12746721, consequat ex, 29114087, et eu anim ut), (58104089, do fugiat laborum ut, 16070974, dog, Ut nisi Excepteur do, enim ullamco adipisicing sunt, pending, 95465410, non laborum cupidatat officia, 23512356, esse amet Duis), (46161566, aliquip in dol, 32588349, doggie, Excepteur nulla voluptate labore esse, elit non, pending, -18619507, laboris culpa, 38532824, cillum), (9223372036854768649, freshwater goby, &lt;A href="https://www.kaggle.com/qiriro" target="_blank"&gt;https://www.kaggle.com/qiriro&lt;/A&gt;, pending, Array), (9223372036854768653, dace, &lt;A href="https://www.kaggle.com/chaitanyakck" target="_blank"&gt;https://www.kaggle.com/chaitanyakck&lt;/A&gt;, pending, Array), (9223372036854768657, kory plummer, &lt;A href="https://www.kickstarter.com/projects/2038173948/paper-chase-students-can-make-family-friendly-shor" target="_blank"&gt;https://www.kickstarter.com/projects/2038173948/paper-chase-students-can-make-family-friendly-shor&lt;/A&gt;, pending, Array), (9223372036854768660, anchovy, &lt;A href="https://www.kickstarter.com/projects/ricksbees/sweetness-of-beeing-expanding-the-apiary" target="_blank"&gt;https://www.kickstarter.com/projects/ricksbees/sweetness-of-beeing-expanding-the-apiary&lt;/A&gt;, pending, Array), (9223372036854768663, goldfish, &lt;A href="https://www.kaggle.com/hidehisaarai1213" target="_blank"&gt;https://www.kaggle.com/hidehisaarai1213&lt;/A&gt;, pending, Array))&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="json-value" data-v-05a469cc=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="json-value" data-v-05a469cc=""&gt;&lt;SPAN data-v-05a469cc=""&gt;It's struggling with the . in columns names I think. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Mar 2023 06:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2047128#M1501</guid>
      <dc:creator>MartijnWanders</dc:creator>
      <dc:date>2023-03-09T06:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2047703#M1516</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137484"&gt;@MartijnWanders&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Yes, the error is due to the column names with a dot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we are not able to&amp;nbsp;&lt;SPAN&gt;manipulate the column values, the best approach is to add an object variable(vObject) with hardcoded column values that are accepted by the snowflake, and then add it to a list variable (vList) which should work fine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I have updated the automation and shared please have a look. Let me know if this solves your issue.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Madhushree&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 05:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2047703#M1516</guid>
      <dc:creator>Madhushree_BP</dc:creator>
      <dc:date>2023-03-10T05:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2048121#M1517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134165"&gt;@Madhushree_BP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;This is almost what I want. How do I make a combination between the flatten option and the vList, vObject and vTableList? I get no output from vList? So I can not map the fields properly in vObject.&lt;/P&gt;
&lt;P&gt;If you look at field Tag it's nested. Normally I would place another loop to fetch this data but now I want to do it with the flatten option. So I can delete the extra loop. In my customer case I have a Automation with 5 loops and doesn't work properly at the last one. If we make this example automation work then I can implement this in the real situation.&lt;/P&gt;
&lt;P&gt;Do you have a solution for this? Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2023 05:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2048121#M1517</guid>
      <dc:creator>MartijnWanders</dc:creator>
      <dc:date>2023-03-11T05:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2048401#M1519</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137484"&gt;@MartijnWanders&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have modified the automation and shared the JSON, please have a look.&lt;/P&gt;
&lt;P&gt;Please check the column names in your snowflake DB and change them accordingly in your automation. Have a look at the mapped values in vObj.&lt;/P&gt;
&lt;P&gt;It is not required to flatten the nested JSON here and also it is not possible to map the list variables(vList) output in this case, If&amp;nbsp;you want to map the values in vObj from vList, you need to add a loop block to do it, and in this scenario, it's not needed because you already have a loop block with all the info.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 10:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2048401#M1519</guid>
      <dc:creator>Madhushree_BP</dc:creator>
      <dc:date>2023-03-13T10:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2048902#M1523</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134165"&gt;@Madhushree_BP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In my real case I have 5 loops needed to get the data. On the last loop I get a error because it can not itterate on a value field.&lt;/P&gt;
&lt;P&gt;For this I created a older threat:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Application-Automation/Create-from-value-a-valid-iterable-object-in-REST-automation/m-p/2043894#M1413" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Application-Automation/Create-from-value-a-valid-iterable-object-in-REST-automation/m-p/2043894#M1413&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I got a solution and Extract data with an QlikSense App. But this isn't the most ideal solution.&lt;/P&gt;
&lt;P&gt;This threat was by B option but I understand that isn't possible with the flatten option?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 10:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2048902#M1523</guid>
      <dc:creator>MartijnWanders</dc:creator>
      <dc:date>2023-03-14T10:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2049850#M1540</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137484"&gt;@MartijnWanders&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;What is the error you are getting? Can you please share the screenshot of the same also can we know the exact use case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Madhushree&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 06:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2049850#M1540</guid>
      <dc:creator>Madhushree_BP</dc:creator>
      <dc:date>2023-03-16T06:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with JSON flatted file and Bulk insert Snowflake block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2049987#M1543</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134165"&gt;@Madhushree_BP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In the attachment you can find a screenshot.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 10:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Need-help-with-JSON-flatted-file-and-Bulk-insert-Snowflake-block/m-p/2049987#M1543</guid>
      <dc:creator>MartijnWanders</dc:creator>
      <dc:date>2023-03-16T10:32:08Z</dc:date>
    </item>
  </channel>
</rss>

