<?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: Read zstd file from Databricks in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/read-zstd-file-from-databricks/m-p/49447#M1601</link>
    <description>&lt;P&gt;Thanks for clarifying!&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2023 07:36:20 GMT</pubDate>
    <dc:creator>bigt23</dc:creator>
    <dc:date>2023-10-18T07:36:20Z</dc:date>
    <item>
      <title>Read zstd file from Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/read-zstd-file-from-databricks/m-p/49435#M1597</link>
      <description>&lt;P&gt;I just started to read `zstd` compressed file in Databricks on Azure, Runtime 14.1 on Spark 3.5.0&lt;/P&gt;&lt;P&gt;I've set PySpark commands as follows&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;path = f"wasbs://{container}@{storageaccount}.blob.core.windows.net/test-zstd"
schema = "some schema"
df = spark.read.option("compression", "zstd").json(path, schema)
df.createOrReplaceTempView("TestTable")&lt;/LI-CODE&gt;&lt;P&gt;then hit sql&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%sql
select * from TestTable limit 100&lt;/LI-CODE&gt;&lt;P&gt;but failed with the following error.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error in SQL statement: IllegalArgumentException: Codec [zstd] is not available. Known codecs are bzip2, deflate, uncompressed, lz4, gzip, snappy, none.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Is there anyway to read `zstd` files there?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 04:32:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/read-zstd-file-from-databricks/m-p/49435#M1597</guid>
      <dc:creator>bigt23</dc:creator>
      <dc:date>2023-10-18T04:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Read zstd file from Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/read-zstd-file-from-databricks/m-p/49440#M1598</link>
      <description>&lt;P&gt;The available compression types are format dependent.&lt;BR /&gt;For json, zstd is not (yet) available, whereas for parquet it is.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 05:44:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/read-zstd-file-from-databricks/m-p/49440#M1598</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-10-18T05:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read zstd file from Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/read-zstd-file-from-databricks/m-p/49447#M1601</link>
      <description>&lt;P&gt;Thanks for clarifying!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 07:36:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/read-zstd-file-from-databricks/m-p/49447#M1601</guid>
      <dc:creator>bigt23</dc:creator>
      <dc:date>2023-10-18T07:36:20Z</dc:date>
    </item>
  </channel>
</rss>

