<?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 Copy Activity: JSON Array Mapping in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3320250#M334</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I query an API using the Copy Activity in Data Pipelines. The JSON&amp;nbsp;returned has the following schema -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I struggle to get the mapping right to import all rows to a table in a Fabric Datawarehouse:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"datasource": "25b10fba",
	"columns": [
		"ID",
		"Name",
		"WQSD ID",
		"Year",
	],
	"metadata": [
		{
			"type": "LONG",
			"dataSourceId": "25b10fba",
			"maxLength": -1,
			"minLength": -1,
			"periodIndex": 0,
			"aggregated": false
		},
		{
			"type": "STRING",
			"dataSourceId": "25b10fba",
			"maxLength": -1,
			"minLength": -1,
			"periodIndex": 0,
			"aggregated": false
		},
		{
			"type": "LONG",
			"dataSourceId": "25b10fba",
			"maxLength": -1,
			"minLength": -1,
			"periodIndex": 0,
			"aggregated": false
		},
		{
			"type": "STRING",
			"dataSourceId": "25b10fba",
			"maxLength": -1,
			"minLength": -1,
			"periodIndex": 0,
			"aggregated": false
		}
	],
	"rows": [
		[
			17432,
			"XXX",
			123,
			"2023"
		],
		[
			17433,
			"YYY",
			456,
			"2022"
		]
		...
	],
	"numRows": 5538,
	"numColumns": 4,
	"fromcache": false,
	"ADFWebActivityResponseHeaders": {
		"Transfer-Encoding": "chunked",
		"Connection": "keep-alive",
		"Vary": "Origin;Access-Control-Request-Method;Access-Control-Request-Headers;Accept-Encoding;User-Agent",
		"X-Content-Type-Options": "nosniff",
		"X-XSS-Protection": "1; mode=block",
		"Pragma": "no-cache",
		"X-Frame-Options": "DENY",
		"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
		"Cache-Control": "no-store, must-revalidate, no-cache, max-age=0",
		"Date": "Thu, 06 Jul 2023 14:35:02 GMT",
		"Content-Type": "application/json; charset=utf-8",
		"Expires": "0"
	},
	"executionDuration": 3
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not need the COLUMNS or METADATA part - I would just like to import all the columns&amp;nbsp;from the ROWS section into a table.&lt;/P&gt;&lt;P&gt;How do I have to set up the mapping in the Copy Activity to achieve&amp;nbsp;this!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any advice!&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2023 10:36:53 GMT</pubDate>
    <dc:creator>chris__1</dc:creator>
    <dc:date>2023-07-07T10:36:53Z</dc:date>
    <item>
      <title>Copy Activity: JSON Array Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3320250#M334</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I query an API using the Copy Activity in Data Pipelines. The JSON&amp;nbsp;returned has the following schema -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I struggle to get the mapping right to import all rows to a table in a Fabric Datawarehouse:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"datasource": "25b10fba",
	"columns": [
		"ID",
		"Name",
		"WQSD ID",
		"Year",
	],
	"metadata": [
		{
			"type": "LONG",
			"dataSourceId": "25b10fba",
			"maxLength": -1,
			"minLength": -1,
			"periodIndex": 0,
			"aggregated": false
		},
		{
			"type": "STRING",
			"dataSourceId": "25b10fba",
			"maxLength": -1,
			"minLength": -1,
			"periodIndex": 0,
			"aggregated": false
		},
		{
			"type": "LONG",
			"dataSourceId": "25b10fba",
			"maxLength": -1,
			"minLength": -1,
			"periodIndex": 0,
			"aggregated": false
		},
		{
			"type": "STRING",
			"dataSourceId": "25b10fba",
			"maxLength": -1,
			"minLength": -1,
			"periodIndex": 0,
			"aggregated": false
		}
	],
	"rows": [
		[
			17432,
			"XXX",
			123,
			"2023"
		],
		[
			17433,
			"YYY",
			456,
			"2022"
		]
		...
	],
	"numRows": 5538,
	"numColumns": 4,
	"fromcache": false,
	"ADFWebActivityResponseHeaders": {
		"Transfer-Encoding": "chunked",
		"Connection": "keep-alive",
		"Vary": "Origin;Access-Control-Request-Method;Access-Control-Request-Headers;Accept-Encoding;User-Agent",
		"X-Content-Type-Options": "nosniff",
		"X-XSS-Protection": "1; mode=block",
		"Pragma": "no-cache",
		"X-Frame-Options": "DENY",
		"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
		"Cache-Control": "no-store, must-revalidate, no-cache, max-age=0",
		"Date": "Thu, 06 Jul 2023 14:35:02 GMT",
		"Content-Type": "application/json; charset=utf-8",
		"Expires": "0"
	},
	"executionDuration": 3
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not need the COLUMNS or METADATA part - I would just like to import all the columns&amp;nbsp;from the ROWS section into a table.&lt;/P&gt;&lt;P&gt;How do I have to set up the mapping in the Copy Activity to achieve&amp;nbsp;this!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any advice!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 10:36:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3320250#M334</guid>
      <dc:creator>chris__1</dc:creator>
      <dc:date>2023-07-07T10:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity: JSON Array Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3322418#M335</link>
      <description>&lt;P&gt;Can you check whether using explicit mapping like below can work, details refer to&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/copy-activity-schema-and-type-mapping#explicit-mapping" target="_blank" rel="noopener"&gt;Schema and data type mapping in copy activity - Azure Data Factory &amp;amp; Azure Synapse | Microsoft Learn&lt;/A&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 05:40:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3322418#M335</guid>
      <dc:creator>GraceGu</dc:creator>
      <dc:date>2023-07-10T05:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity: JSON Array Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3323432#M340</link>
      <description>&lt;P&gt;Thanks so much and thanks for the link to the documentation!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 15:00:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3323432#M340</guid>
      <dc:creator>chris__1</dc:creator>
      <dc:date>2023-07-10T15:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity: JSON Array Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3639479#M1610</link>
      <description>&lt;P&gt;The Advanced Editor and Collection Reference features do not exist in Microsoft Fabric Data Factory. They do exist in Azure Data Factory. I'm running into the same problem where essentially my json data cannot be mapped properly because the activity is not able to recognize the array data type in Fabric Data Factory like it can in Azure Data Factory.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 19:52:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3639479#M1610</guid>
      <dc:creator>noahadmcdonald</dc:creator>
      <dc:date>2024-01-15T19:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity: JSON Array Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3730186#M1986</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398339" data-lia-user-login="chris__1" class="lia-mention lia-mention-user"&gt;chris__1&lt;/a&gt;&amp;nbsp;Could you elaborate on how you solved this problem in Fabric?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 09:41:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/3730186#M1986</guid>
      <dc:creator>RH205</dc:creator>
      <dc:date>2024-02-28T09:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity: JSON Array Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/4031718#M4473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="398339" data-lia-user-login="chris__1" class="lia-mention lia-mention-user"&gt;chris__1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you get this to work? Im having the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Marius &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 05:48:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Activity-JSON-Array-Mapping/m-p/4031718#M4473</guid>
      <dc:creator>mariussve1</dc:creator>
      <dc:date>2024-07-09T05:48:45Z</dc:date>
    </item>
  </channel>
</rss>

