<?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: pipeline Copy Activity  JSON file with multiple documents - Mapping in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4769144#M8210</link>
    <description>&lt;P&gt;Then Write some code in python notebooks and rest UI/UX in Data Factory. This is how I should do:&lt;/P&gt;&lt;P&gt;Python --&amp;gt; Spark Dataframe --&amp;gt; Convert to Delta Table ( This part programmimg code ) and once delta table is ready, write copy activity in Fabric Data Factory.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 19 Jul 2025 08:09:55 GMT</pubDate>
    <dc:creator>BhaveshPatel</dc:creator>
    <dc:date>2025-07-19T08:09:55Z</dc:date>
    <item>
      <title>pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4768945#M8207</link>
      <description>&lt;P&gt;Hello All:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am making no progress on this issue so I will put out to you good folks.&lt;/P&gt;&lt;P&gt;We are in this situation because Data Factory has issues with attributes that start with special characters.&amp;nbsp; In this case&amp;nbsp;@ (at sign)&lt;/P&gt;&lt;P&gt;My data comes in via a REST API and look like this:&amp;nbsp;&amp;nbsp;{"@odata.context":"&lt;A href="https://fifa.com/goalsAssist" target="_blank" rel="noopener"&gt;https://fifa.com/goalsAssist&lt;/A&gt;","value":[ { .......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sample file here:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{"@odata.context":"https://fifa.com/goalsAssist","value":[  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202201,    "goals": 1,    "assists": 0,    "minutes played": 20,    "games played": 1  },  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202202,    "goals": 0,    "assists": 0,    "minutes played": 20,    "games played": 1  },  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202203,    "goals": 0,    "assists": 0,    "minutes played": 20,    "games played": 1  },  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202204,    "goals": 2,    "assists": 0,    "minutes played": 45,    "games played": 1  },  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202205,    "goals": 0,    "assists": 0,    "minutes played": 45,    "games played": 2  },  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202206,    "goals": 3,    "assists": 1,    "minutes played": 90,    "games played": 3  },  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202207,    "goals": 1,    "assists": 1,    "minutes played": 30,    "games played": 1  },  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202208,    "goals": 4,    "assists": 2,    "minutes played": 110,    "games played": 3  },  {    "team": "BLUE",    "player": "ROBIN",    "yyyymm": 202209,    "goals": 6,    "assists": 2,    "minutes played": 110,    "games played": 3  } ] }
{"@odata.context":"https://fifa.com/goalsAssist","value":[  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202201,    "goals": 2,    "assists": 1,    "minutes played": 70,    "games played": 2  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202201,    "goals": 0,    "assists": 2,    "minutes played": 45,    "games played": 1  },  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202202,    "goals": 1,    "assists": 0,    "minutes played": 60,    "games played": 2  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202202,    "goals": 0,    "assists": 3,    "minutes played": 45,    "games played": 1  },  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202203,    "goals": 0,    "assists": 0,    "minutes played": 50,    "games played": 2  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202203,    "goals": 0,    "assists": 1,    "minutes played": 90,    "games played": 1  },  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202204,    "goals": 3,    "assists": 2,    "minutes played": 40,    "games played": 3  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202204,    "goals": 0,    "assists": 2,    "minutes played": 90,    "games played": 2  },  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202205,    "goals": 2,    "assists": 0,    "minutes played": 40,    "games played": 3  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202205,    "goals": 1,    "assists": 3,    "minutes played": 120,    "games played": 3  },  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202206,    "goals": 1,    "assists": 3,    "minutes played": 40,    "games played": 3  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202206,    "goals": 0,    "assists": 0,    "minutes played": 45,    "games played": 1  },  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202207,    "goals": 0,    "assists": 1,    "minutes played": 10,    "games played": 1  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202207,    "goals": 0,    "assists": 0,    "minutes played": 60,    "games played": 2  },  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202208,    "goals": 4,    "assists": 4,    "minutes played": 90,    "games played": 3  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202208,    "goals": 0,    "assists": 1,    "minutes played": 90,    "games played": 2  },  {    "team": "GREEN",    "player": "BOBBY",    "yyyymm": 202209,    "goals": 3,    "assists": 6,    "minutes played": 75,    "games played": 2  },  {    "team": "GREEN",    "player": "PATTSY",    "yyyymm": 202209,    "goals": 1,    "assists": 3,    "minutes played": 120,    "games played": 2  } ]  }
{"@odata.context":"https://fifa.com/goalsAssist","value":[]}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Data Factory activities choke on the&amp;nbsp;@odata.context&lt;/P&gt;&lt;P&gt;Please note there are multiple JSON docs in the file and there are mutliple JSON objects per line in the file.&lt;/P&gt;&lt;P&gt;I have been able to handle the&amp;nbsp; multiple JSON docs in the file and the mutliple JSON objects per file in&lt;/P&gt;&lt;P&gt;another Pipeline with the Flatten tool.&lt;/P&gt;&lt;P&gt;My thought is to use Mapping on the Copy activity to ignore the&amp;nbsp;@odata.&lt;/P&gt;&lt;P&gt;I have tried many mappings with not luck .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is one attempt.&amp;nbsp;@odata.content is NOT included.&amp;nbsp; &amp;nbsp;The rest of the data,&amp;nbsp; I want move over as is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 20:16:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4768945#M8207</guid>
      <dc:creator>KBD</dc:creator>
      <dc:date>2025-07-18T20:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4769001#M8208</link>
      <description>&lt;P&gt;Rather than Data Factory, I should start with Python Notebooks if you know how to do ETL REST APIs in Python. it is just JSON file.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 23:56:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4769001#M8208</guid>
      <dc:creator>BhaveshPatel</dc:creator>
      <dc:date>2025-07-18T23:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4769013#M8209</link>
      <description>&lt;P&gt;I already have this working in Python with no issues.&lt;/P&gt;&lt;P&gt;But Corporate,&amp;nbsp; the powers that be, want a Data Factory solution because it is " No code"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jul 2025 00:22:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4769013#M8209</guid>
      <dc:creator>KBD</dc:creator>
      <dc:date>2025-07-19T00:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4769144#M8210</link>
      <description>&lt;P&gt;Then Write some code in python notebooks and rest UI/UX in Data Factory. This is how I should do:&lt;/P&gt;&lt;P&gt;Python --&amp;gt; Spark Dataframe --&amp;gt; Convert to Delta Table ( This part programmimg code ) and once delta table is ready, write copy activity in Fabric Data Factory.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jul 2025 08:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4769144#M8210</guid>
      <dc:creator>BhaveshPatel</dc:creator>
      <dc:date>2025-07-19T08:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4775445#M8236</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="810118" data-lia-user-login="KBD" class="lia-mention lia-mention-user"&gt;KBD&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 17:03:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4775445#M8236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-24T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4777744#M8246</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="810118" data-lia-user-login="KBD" class="lia-mention lia-mention-user"&gt;KBD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 04:11:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4777744#M8246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-28T04:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4782674#M8276</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="810118" data-lia-user-login="KBD" class="lia-mention lia-mention-user"&gt;KBD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the suggestions &amp;nbsp;provided by the community members for the issue worked. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 08:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4782674#M8276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-31T08:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4785254#M8281</link>
      <description>&lt;P&gt;Wasn't clear from your description where you intend to send the data or what your specific issue was. But I attempted this using the example file and send it to a lakehouse table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to set set up a collection reference which is the array you want to iterate over. In your structure that would be `$['value']` from there you map the columns relative to the collection path. Screenshot of my mapping...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;27 rows copied from the example file...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are trying to send it somewhere else should be similar principle. Note in the example I also added an additional column `runDTS` for debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Aug 2025 12:02:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4785254#M8281</guid>
      <dc:creator>justinjbird</dc:creator>
      <dc:date>2025-08-02T12:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: pipeline Copy Activity  JSON file with multiple documents - Mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4786769#M8285</link>
      <description>&lt;P&gt;Thanks for your kind attention to this matter.&lt;/P&gt;&lt;P&gt;That is what I came up with also.&lt;/P&gt;&lt;P&gt;In short only work with $value array ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;make no reference to&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;@odata.context&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Took a while to figure out the correct config.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again for your suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 13:25:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/pipeline-Copy-Activity-JSON-file-with-multiple-documents-Mapping/m-p/4786769#M8285</guid>
      <dc:creator>KBD</dc:creator>
      <dc:date>2025-08-04T13:25:18Z</dc:date>
    </item>
  </channel>
</rss>

