<?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 Issue with copy data from csv in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3289596#M233</link>
    <description>&lt;P&gt;I'm copying data from a csv file that is uploaded to a lakehouse to a table in the same lakehouse.&amp;nbsp; I've set it up three different ways.&lt;/P&gt;&lt;P&gt;1. Pipeline copy task with the csv as the source and new table as destination&lt;/P&gt;&lt;P&gt;2. Using the "Load to Tables" festure on the file from the Lakehouse explorer&lt;/P&gt;&lt;P&gt;3. A simple data flow with the csv file as a source and a new table as a destination&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 2 and 3 work as expected.&amp;nbsp; Option 1, the pipeline, produces the following.&lt;/P&gt;&lt;P&gt;1. The table seems to be missing the data for the last column when viewing in the Lakehouse explorer.&lt;/P&gt;&lt;P&gt;2. An error occurs when accessing the SQL Endpoint with a table in this state.&lt;/P&gt;&lt;P&gt;3. Any further use of the table in other ways, like a dataflow, has the last column's data missing.&lt;/P&gt;&lt;P&gt;4. However, if querying it using Spark SQL in a Notebook shows the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are a series of screen shots depicted the issue.&amp;nbsp; NOTE: Conducted a similar experiment with a JSON file and all was good so it would seem to ba an issue with handling CSV's in the Pipeline Copy activitiy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load via Pipeline (missing last column)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load via "Load to Tables" (last column OK)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load via Dataflow (last column OK)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in SQL Endpoint when table loaded via Pipeline exists.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spark SQL Query of the table with the last column's data missing everywhere else.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Jun 2023 17:36:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-18T17:36:32Z</dc:date>
    <item>
      <title>Issue with copy data from csv</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3289596#M233</link>
      <description>&lt;P&gt;I'm copying data from a csv file that is uploaded to a lakehouse to a table in the same lakehouse.&amp;nbsp; I've set it up three different ways.&lt;/P&gt;&lt;P&gt;1. Pipeline copy task with the csv as the source and new table as destination&lt;/P&gt;&lt;P&gt;2. Using the "Load to Tables" festure on the file from the Lakehouse explorer&lt;/P&gt;&lt;P&gt;3. A simple data flow with the csv file as a source and a new table as a destination&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 2 and 3 work as expected.&amp;nbsp; Option 1, the pipeline, produces the following.&lt;/P&gt;&lt;P&gt;1. The table seems to be missing the data for the last column when viewing in the Lakehouse explorer.&lt;/P&gt;&lt;P&gt;2. An error occurs when accessing the SQL Endpoint with a table in this state.&lt;/P&gt;&lt;P&gt;3. Any further use of the table in other ways, like a dataflow, has the last column's data missing.&lt;/P&gt;&lt;P&gt;4. However, if querying it using Spark SQL in a Notebook shows the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are a series of screen shots depicted the issue.&amp;nbsp; NOTE: Conducted a similar experiment with a JSON file and all was good so it would seem to ba an issue with handling CSV's in the Pipeline Copy activitiy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load via Pipeline (missing last column)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load via "Load to Tables" (last column OK)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load via Dataflow (last column OK)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in SQL Endpoint when table loaded via Pipeline exists.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spark SQL Query of the table with the last column's data missing everywhere else.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2023 17:36:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3289596#M233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-18T17:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with copy data from csv</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3291412#M238</link>
      <description>&lt;P&gt;Make sure you have no explicit mapping set in the copy activity.&lt;/P&gt;&lt;P&gt;Please log a support ticket with your activity run id as well as pipeline json. We will resolve it ASAP.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 16:18:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3291412#M238</guid>
      <dc:creator>ajarora</dc:creator>
      <dc:date>2023-06-19T16:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with copy data from csv</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3291480#M240</link>
      <description>&lt;P&gt;Hi, in pipeline case, you have to take care of import scheme option, there you need to map the column names and data types, then you will get succeeded output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If I answer your question, please mark it as solution.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 16:57:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3291480#M240</guid>
      <dc:creator>sudhav</dc:creator>
      <dc:date>2023-06-19T16:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with copy data from csv</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3291861#M244</link>
      <description>&lt;P&gt;Thanks Ajarora.&amp;nbsp; Upon inspecting the JSON of the Copy Task, it contained a schema from a different CSV file than the opne selected for the source.&amp;nbsp; What I'm thinking happened is that when creating a new pipeline, I used the same name as one that I previously deleted and somehow got content from the old one mixed in with the new one I'm not sure.&amp;nbsp; I will try to reproduce.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 22:26:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3291861#M244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-19T22:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with copy data from csv</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3291869#M245</link>
      <description>&lt;P&gt;Yes that was my assumption. In that case reset any existing mappings and your issue should get resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 22:37:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-copy-data-from-csv/m-p/3291869#M245</guid>
      <dc:creator>ajarora</dc:creator>
      <dc:date>2023-06-19T22:37:26Z</dc:date>
    </item>
  </channel>
</rss>

