<?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: SELECT * FROM delta doesn't work on Spark 3.2 in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22849#M15729</link>
    <description>&lt;P&gt;Hi @Werner Stinckens​, thanks for replying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, you can read directly from S3 on PySpark and Spark SQL. &lt;A href="https://docs.databricks.com/data/data-sources/aws/amazon-s3.html?_ga=2.73336475.960284685.1650222574-646947845.1646643045" alt="https://docs.databricks.com/data/data-sources/aws/amazon-s3.html?_ga=2.73336475.960284685.1650222574-646947845.1646643045" target="_blank"&gt;Amaz on S3&lt;/A&gt; documentation can show you how to do it. Now, it looks from Spark 3.2 (DBR 10 or later), it's not possible to use syntactic sugar on the FROM statement. That's what I need to confirm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 18 Apr 2022 09:02:41 GMT</pubDate>
    <dc:creator>CrisBerg_65149</dc:creator>
    <dc:date>2022-04-18T09:02:41Z</dc:date>
    <item>
      <title>SELECT * FROM delta doesn't work on Spark 3.2</title>
      <link>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22847#M15727</link>
      <description>&lt;P&gt;Using DBR 10 or later and I’m getting an error when running the following query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT *  FROM delta.`s3://some_path`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getting org.apache.spark.SparkException: Unable to fetch tables of db delta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 3.2.0+ they recommend reading like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TEMPORARY VIEW parquetTable&lt;/P&gt;&lt;P&gt;USING org.apache.spark.sql.parquet&lt;/P&gt;&lt;P&gt;OPTIONS (&lt;/P&gt;&lt;P&gt;  path "examples/src/main/resources/people.parquet"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM parquetTable&lt;/P&gt;&lt;P&gt;Can you confirm this is the only way?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 09:34:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22847#M15727</guid>
      <dc:creator>CrisBerg_65149</dc:creator>
      <dc:date>2022-04-14T09:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * FROM delta doesn't work on Spark 3.2</title>
      <link>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22848#M15728</link>
      <description>&lt;P&gt;@Cristobal Berger​&amp;nbsp;, Databricks uses dbfs, so if you want to use a path to read the data, you should use the dbfs path.&lt;/P&gt;&lt;P&gt;Using a view works too, btw (or define it as a table).&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 14:37:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22848#M15728</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2022-04-14T14:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * FROM delta doesn't work on Spark 3.2</title>
      <link>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22849#M15729</link>
      <description>&lt;P&gt;Hi @Werner Stinckens​, thanks for replying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, you can read directly from S3 on PySpark and Spark SQL. &lt;A href="https://docs.databricks.com/data/data-sources/aws/amazon-s3.html?_ga=2.73336475.960284685.1650222574-646947845.1646643045" alt="https://docs.databricks.com/data/data-sources/aws/amazon-s3.html?_ga=2.73336475.960284685.1650222574-646947845.1646643045" target="_blank"&gt;Amaz on S3&lt;/A&gt; documentation can show you how to do it. Now, it looks from Spark 3.2 (DBR 10 or later), it's not possible to use syntactic sugar on the FROM statement. That's what I need to confirm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 09:02:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22849#M15729</guid>
      <dc:creator>CrisBerg_65149</dc:creator>
      <dc:date>2022-04-18T09:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * FROM delta doesn't work on Spark 3.2</title>
      <link>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22850#M15730</link>
      <description>&lt;P&gt;Hello @Cristobal Berger​&amp;nbsp;, - I could not reproduce this using DBR 10; I think you may be doing something wrong.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="read-delta-s3"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1945i63E6593917945890/image-size/large?v=v2&amp;amp;px=999" role="button" title="read-delta-s3" alt="read-delta-s3" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 17:32:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22850#M15730</guid>
      <dc:creator>Dan_Z</dc:creator>
      <dc:date>2022-05-04T17:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT * FROM delta doesn't work on Spark 3.2</title>
      <link>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22852#M15732</link>
      <description>&lt;P&gt;Got support from Databricks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, someone created a DB called delta, so the query was done against that DB instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue was solved&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 12:46:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/select-from-delta-doesn-t-work-on-spark-3-2/m-p/22852#M15732</guid>
      <dc:creator>CrisBerg_65149</dc:creator>
      <dc:date>2022-05-11T12:46:31Z</dc:date>
    </item>
  </channel>
</rss>

