<?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 How to change compression codec of sql warehouse written files? in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/how-to-change-compression-codec-of-sql-warehouse-written-files/m-p/3690#M22</link>
    <description>&lt;P&gt;Hi, I'm currently starting to use SQL Warehouse, and we have most of our lake in a compression different than snappy.&lt;/P&gt;
&lt;P&gt;How can I set the SQL warehouse to use a compression like gzip, zstd, on CREATE, INSERT, etc?&lt;/P&gt;
&lt;P&gt;Tried this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;set spark.sql.parquet.compression.codec=gzip&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And got the error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Error running query: [_LEGACY_ERROR_TEMP_DBR_0222] org.apache.spark.sql.AnalysisException: Configuration spark.sql.parquet.compression.codec is not available.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2025 12:58:30 GMT</pubDate>
    <dc:creator>alejandrofm</dc:creator>
    <dc:date>2025-03-21T12:58:30Z</dc:date>
    <item>
      <title>How to change compression codec of sql warehouse written files?</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/how-to-change-compression-codec-of-sql-warehouse-written-files/m-p/3690#M22</link>
      <description>&lt;P&gt;Hi, I'm currently starting to use SQL Warehouse, and we have most of our lake in a compression different than snappy.&lt;/P&gt;
&lt;P&gt;How can I set the SQL warehouse to use a compression like gzip, zstd, on CREATE, INSERT, etc?&lt;/P&gt;
&lt;P&gt;Tried this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;set spark.sql.parquet.compression.codec=gzip&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And got the error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Error running query: [_LEGACY_ERROR_TEMP_DBR_0222] org.apache.spark.sql.AnalysisException: Configuration spark.sql.parquet.compression.codec is not available.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 12:58:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/how-to-change-compression-codec-of-sql-warehouse-written-files/m-p/3690#M22</guid>
      <dc:creator>alejandrofm</dc:creator>
      <dc:date>2025-03-21T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to change compression codec of sql warehouse written files?</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/how-to-change-compression-codec-of-sql-warehouse-written-files/m-p/3691#M23</link>
      <description>&lt;P&gt;Hi @Alejandro Martinez​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Let's see if your peers in the community have an answer to your question. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 06:55:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/how-to-change-compression-codec-of-sql-warehouse-written-files/m-p/3691#M23</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-16T06:55:08Z</dc:date>
    </item>
  </channel>
</rss>

