<?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: Copy a Table in SQL Server into Parquet Format in Blob Storage in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-a-Table-in-SQL-Server-into-Parquet-Format-in-Blob-Storage/m-p/4423671#M7152</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="632534" data-lia-user-login="KylieF" class="lia-mention lia-mention-user"&gt;KylieF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;It looks like your data pipeline is trying to write a Parquet file to Azure Blob Storage, but the compressionCodec property is either missing or set to an invalid value. Here’s how you can fix it:&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Possible Causes and Fixes:&lt;/STRONG&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Set a Valid Compression Codec&lt;/STRONG&gt;&lt;BR /&gt;Ensure that the compressionCodec property is set correctly. The supported values for &lt;STRONG&gt;Parquet compression in Azure Data Factory&lt;/STRONG&gt; are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;None&lt;/LI&gt;&lt;LI&gt;Gzip&lt;/LI&gt;&lt;LI&gt;Snappy&lt;/LI&gt;&lt;LI&gt;LZO&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Example JSON snippet for the dataset configuration:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;json&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;"format"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"ParquetFormat"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"compressionCodec"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"Snappy"&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check for Null or Missing Property&lt;/STRONG&gt;&lt;BR /&gt;The error suggests that compressionCodec might be missing or set to null. If you haven't explicitly defined it, try setting it to "None" instead of leaving it blank.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Validate JSON Payload in the Dataset Definition&lt;/STRONG&gt;&lt;BR /&gt;If you are using &lt;STRONG&gt;Azure Data Factory (ADF)&lt;/STRONG&gt; or &lt;STRONG&gt;Synapse Pipelines&lt;/STRONG&gt;, go to the &lt;STRONG&gt;Sink dataset&lt;/STRONG&gt; (Parquet file) settings and verify that the compression setting is defined.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check Your Pipeline Parameters&lt;/STRONG&gt;&lt;BR /&gt;If compressionCodec is set dynamically using pipeline parameters, ensure the parameter value is correctly assigned before execution.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Restart the Pipeline After Fixing&lt;/STRONG&gt;&lt;BR /&gt;Once you've corrected the issue, &lt;STRONG&gt;publish&lt;/STRONG&gt; the changes and &lt;STRONG&gt;restart&lt;/STRONG&gt; the pipeline.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&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&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 24 Feb 2025 01:24:59 GMT</pubDate>
    <dc:creator>Sureshvarma</dc:creator>
    <dc:date>2025-02-24T01:24:59Z</dc:date>
    <item>
      <title>Copy a Table in SQL Server into Parquet Format in Blob Storage</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-a-Table-in-SQL-Server-into-Parquet-Format-in-Blob-Storage/m-p/4418864#M7120</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've built a data pipeline copying a table in SQL Server into a parquet file in Azure Blob Storage and got the below error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ErrorCode=UserErrorInvalidValueInPayload,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Failed to convert the value in 'compressionCodec' property to 'Microsoft.DataTransfer.Richfile.Core.ParquetCompressionCodec' type. Please make sure the payload structure and value are correct.,Source=Microsoft.DataTransfer.DataContracts,''Type=System.InvalidCastException,Message=Null object cannot be converted to a value type.,Source=mscorlib,'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to fix it please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kylie&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 05:01:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-a-Table-in-SQL-Server-into-Parquet-Format-in-Blob-Storage/m-p/4418864#M7120</guid>
      <dc:creator>KylieF</dc:creator>
      <dc:date>2025-02-20T05:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a Table in SQL Server into Parquet Format in Blob Storage</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-a-Table-in-SQL-Server-into-Parquet-Format-in-Blob-Storage/m-p/4418960#M7121</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="632534" data-lia-user-login="KylieF" class="lia-mention lia-mention-user"&gt;KylieF&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would need to some debugging to understand which values are actually causing the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please enable fault tolerance with 'Skip incompatible rows'. This will load all correct data into the table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enable logging so that a log is created which contains rows that are causing the problem. You can check individual columns to understand any special character/value that is causing the problem.&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;In addition to that, you can try mapping manually giving the column names and data types. Note that, parquet has some restrictions on column names.&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 06:23:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-a-Table-in-SQL-Server-into-Parquet-Format-in-Blob-Storage/m-p/4418960#M7121</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2025-02-20T06:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a Table in SQL Server into Parquet Format in Blob Storage</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-a-Table-in-SQL-Server-into-Parquet-Format-in-Blob-Storage/m-p/4423671#M7152</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="632534" data-lia-user-login="KylieF" class="lia-mention lia-mention-user"&gt;KylieF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;It looks like your data pipeline is trying to write a Parquet file to Azure Blob Storage, but the compressionCodec property is either missing or set to an invalid value. Here’s how you can fix it:&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Possible Causes and Fixes:&lt;/STRONG&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Set a Valid Compression Codec&lt;/STRONG&gt;&lt;BR /&gt;Ensure that the compressionCodec property is set correctly. The supported values for &lt;STRONG&gt;Parquet compression in Azure Data Factory&lt;/STRONG&gt; are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;None&lt;/LI&gt;&lt;LI&gt;Gzip&lt;/LI&gt;&lt;LI&gt;Snappy&lt;/LI&gt;&lt;LI&gt;LZO&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Example JSON snippet for the dataset configuration:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;json&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;"format"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"ParquetFormat"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"compressionCodec"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"Snappy"&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check for Null or Missing Property&lt;/STRONG&gt;&lt;BR /&gt;The error suggests that compressionCodec might be missing or set to null. If you haven't explicitly defined it, try setting it to "None" instead of leaving it blank.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Validate JSON Payload in the Dataset Definition&lt;/STRONG&gt;&lt;BR /&gt;If you are using &lt;STRONG&gt;Azure Data Factory (ADF)&lt;/STRONG&gt; or &lt;STRONG&gt;Synapse Pipelines&lt;/STRONG&gt;, go to the &lt;STRONG&gt;Sink dataset&lt;/STRONG&gt; (Parquet file) settings and verify that the compression setting is defined.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check Your Pipeline Parameters&lt;/STRONG&gt;&lt;BR /&gt;If compressionCodec is set dynamically using pipeline parameters, ensure the parameter value is correctly assigned before execution.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Restart the Pipeline After Fixing&lt;/STRONG&gt;&lt;BR /&gt;Once you've corrected the issue, &lt;STRONG&gt;publish&lt;/STRONG&gt; the changes and &lt;STRONG&gt;restart&lt;/STRONG&gt; the pipeline.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&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&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Feb 2025 01:24:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-a-Table-in-SQL-Server-into-Parquet-Format-in-Blob-Storage/m-p/4423671#M7152</guid>
      <dc:creator>Sureshvarma</dc:creator>
      <dc:date>2025-02-24T01:24:59Z</dc:date>
    </item>
  </channel>
</rss>

