<?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: Loading Json (Json inside array of json) response to a Lakehouse Delta tables was not successful in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3368735#M490</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="599473" data-lia-user-login="bala_ci" class="lia-mention lia-mention-user"&gt;bala_ci&lt;/a&gt;&amp;nbsp;Thanks for posting your question in Microsoft Fabric Community&lt;/P&gt;
&lt;P&gt;Currently, I am checking with the Internal team on your ask and provide you with more details once I hear back from the team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Geetha&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 16:10:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-07T16:10:28Z</dc:date>
    <item>
      <title>Loading Json (Json inside array of json) response to a Lakehouse Delta tables was not successful</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3367942#M485</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal: Loading Json response to multiple tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps in the pipeline to the above:&lt;/P&gt;&lt;P&gt;1) Copy acitivity - which will connect REST API and JSON response saved as json file in the Lakehouse file section - Successful&lt;/P&gt;&lt;P&gt;2) On completion of above activity (1), Copy activity which reads the json file from the lakehouse and thru Import schema - Mapping done for "Sales" (Json parent records) and copied to a delta table "sales" - Successful&lt;/P&gt;&lt;P&gt;3) On completiono of above activity (1), Copy activity which reads the json file from the lakehouse file and thru Import schema&amp;nbsp;Mapping done for a inside Json array. For example, ['sales'][0]['orders'] - Project reference to import the schemas and store it to different tables "orders". - Successfull but only records in the array[0] is copied to the tables not all the records in the Json.&lt;/P&gt;&lt;P&gt;4) On completion of above activity (1),&amp;nbsp;Copy activity which reads the json file from the lakehouse file and thru Import schema&amp;nbsp;Mapping done for a inside Json array 'discounts'. - Not successful. Not all sales have discounts json array. Even though I struggled to map the discounts json format but records are not stored into tables. First json records does not have discounts so it stopped there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My queries:&lt;/P&gt;&lt;P&gt;1) How to debug the pipelines activity?&lt;/P&gt;&lt;P&gt;2) Why only one array values are copied to the tables not all the records in the json?&lt;/P&gt;&lt;P&gt;3) Why if the json contains a empty json array are not skipped instead entire copy process is stopped?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me to solve the above issues. If you need any clarification, please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bala.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 08:35:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3367942#M485</guid>
      <dc:creator>bala_ci</dc:creator>
      <dc:date>2023-08-07T08:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Json (Json inside array of json) response to a Lakehouse Delta tables was not successful</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3368735#M490</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="599473" data-lia-user-login="bala_ci" class="lia-mention lia-mention-user"&gt;bala_ci&lt;/a&gt;&amp;nbsp;Thanks for posting your question in Microsoft Fabric Community&lt;/P&gt;
&lt;P&gt;Currently, I am checking with the Internal team on your ask and provide you with more details once I hear back from the team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Geetha&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 16:10:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3368735#M490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-07T16:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Json (Json inside array of json) response to a Lakehouse Delta tables was not successful</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3370617#M496</link>
      <description>Any Updates</description>
      <pubDate>Tue, 08 Aug 2023 16:08:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3370617#M496</guid>
      <dc:creator>bala_ci</dc:creator>
      <dc:date>2023-08-08T16:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Json (Json inside array of json) response to a Lakehouse Delta tables was not successful</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3371127#M497</link>
      <description>&lt;P&gt;For question#2: you may need to specify that `sales` is a collection, have you tried using the setting: "collection as reference" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;More details here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/copy-activity-schema-and-type-mapping#hierarchical-source-to-tabular-sink" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/data-factory/copy-activity-schema-and-type-mapping#hierarchical-source-to-tabular-sink&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question#3: I am not sure about your question, are you expecting the copy activity to have not stopped when the array was empty, and keep proceeding to copy the rest of the data ? What do you mean it stopped, did the activity fail ?&lt;/P&gt;&lt;P&gt;Can you try to enable "Skip incompatible rows" option under Settings -&amp;gt; Fault Tolerance and see if it helps ?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 21:50:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Loading-Json-Json-inside-array-of-json-response-to-a-Lakehouse/m-p/3371127#M497</guid>
      <dc:creator>ajarora</dc:creator>
      <dc:date>2023-08-08T21:50:04Z</dc:date>
    </item>
  </channel>
</rss>

