<?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: Data pipeline Copy Data issue with CSV file and skip line in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3267911#M143</link>
    <description>&lt;P&gt;Thanks Anonymous&lt;/LI-USER&gt;. &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="569651" data-lia-user-login="SamWilliams" class="lia-mention lia-mention-user"&gt;SamWilliams&lt;/a&gt;&amp;nbsp;can you try whether it works for you? While we will log this bug for inconsitent between data preview and run.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 07:29:04 GMT</pubDate>
    <dc:creator>GraceGu</dc:creator>
    <dc:date>2023-06-05T07:29:04Z</dc:date>
    <item>
      <title>Data pipeline Copy Data issue with CSV file and skip line</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3264514#M137</link>
      <description>&lt;P&gt;I have a set of CSV files that require skipping the first line. I have this configured, and the preview works as expected. However, when running the pipeline, it fails with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;row number 3: found more columns than expected column count&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The CSV layout is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Row 1 &amp;gt; Data description label&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Row 2 &amp;gt; Blank&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Row 3 &amp;gt; headers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Row 4 &amp;gt; data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It appears that when the copy is actuall run, the skip line value is being ignored, and it fails when it gets to the headers, because it was expecting a single column based on Row 1.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 18:06:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3264514#M137</guid>
      <dc:creator>SamWilliams</dc:creator>
      <dc:date>2023-06-01T18:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Data pipeline Copy Data issue with CSV file and skip line</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3264988#M138</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;Do you happen to have &lt;STRONG&gt;First row as header&lt;/STRONG&gt; selected in your File format settings? And could you share a screenshot of your source settings and advanced source configurations?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 03:48:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3264988#M138</guid>
      <dc:creator>n0elleli</dc:creator>
      <dc:date>2023-06-02T03:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Data pipeline Copy Data issue with CSV file and skip line</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3265652#M139</link>
      <description>&lt;P&gt;Yes, here is the configuration, error, and source file:&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the preview of the data is correct:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is the error when running the pipeline:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Error&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Troubleshoot activity failures&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;{ "errorCode": "2200", "message": "ErrorCode=DelimitedTextMoreColumnsThanDefined,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error found when processing 'Csv/Tsv Format Text' source 'DataflowTest.csv' with row number 3: found more columns than expected column count 1.,Source=Microsoft.DataTransfer.Common,'", "failureType": "UserError", "target": "Copy data1", "details": [] }&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Source CSV File (5 rows total: label, blank, headers, data):&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This is a data file header&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Column A,Column B,Column C&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Row 4A,Row 4B,Row 4C&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Row 5A,Row 5B,Row 5C&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jun 2023 12:42:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3265652#M139</guid>
      <dc:creator>SamWilliams</dc:creator>
      <dc:date>2023-06-02T12:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data pipeline Copy Data issue with CSV file and skip line</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3265944#M140</link>
      <description>&lt;P&gt;Have you tried with skip = 2?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:12:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3265944#M140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-02T15:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data pipeline Copy Data issue with CSV file and skip line</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3265954#M141</link>
      <description>&lt;P&gt;So I had looked at setting the skip to 2, and the preview was incorrect, as it shows row 4 as the headers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, If I actually run it, it works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the issue appears to be that the preview auto ignores/skips the blank line, but when running the pipeline, it does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:19:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3265954#M141</guid>
      <dc:creator>SamWilliams</dc:creator>
      <dc:date>2023-06-02T15:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data pipeline Copy Data issue with CSV file and skip line</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3265976#M142</link>
      <description>&lt;P&gt;Update on my previous reply:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just tested your case, uploaded a csv and tried different configurations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It might sound counter intuitive I know, but using Skip line count = 2 breaks the preview data, it wont work as expected. But then when you actually run the pipeline, it works fine!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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;&lt;P&gt;Here is how preview data looks&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:31:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3265976#M142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-02T15:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data pipeline Copy Data issue with CSV file and skip line</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3267911#M143</link>
      <description>&lt;P&gt;Thanks Anonymous&lt;/a&gt;. &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="569651" data-lia-user-login="SamWilliams" class="lia-mention lia-mention-user"&gt;SamWilliams&lt;/a&gt;&amp;nbsp;can you try whether it works for you? While we will log this bug for inconsitent between data preview and run.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 07:29:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3267911#M143</guid>
      <dc:creator>GraceGu</dc:creator>
      <dc:date>2023-06-05T07:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data pipeline Copy Data issue with CSV file and skip line</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3268478#M144</link>
      <description>&lt;P&gt;Yes, setting skip to 2 works for the actual run, but not preview.&lt;BR /&gt;&lt;BR /&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 12:47:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Data-pipeline-Copy-Data-issue-with-CSV-file-and-skip-line/m-p/3268478#M144</guid>
      <dc:creator>SamWilliams</dc:creator>
      <dc:date>2023-06-05T12:47:48Z</dc:date>
    </item>
  </channel>
</rss>

