<?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: I've data in s3/Iceberg tables. How to read it using databricks SparkSQL ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/109770#M43387</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/129098"&gt;@Nalapriya&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What is the DBR version? and library jar version?&lt;/P&gt;
&lt;P&gt;Could you try with below code test?&lt;/P&gt;
&lt;P&gt;# Set the catalog and schema&lt;BR /&gt;spark.sql("USE CATALOG my_catalog")&lt;BR /&gt;spark.sql("USE SCHEMA my_schema")&lt;/P&gt;
&lt;P&gt;# Read the Iceberg table&lt;BR /&gt;df = spark.read.format("org.apache.iceberg.spark.source.IcebergSource").load("s3://my-bucket-path")&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2025 12:36:41 GMT</pubDate>
    <dc:creator>Alberto_Umana</dc:creator>
    <dc:date>2025-02-11T12:36:41Z</dc:date>
    <item>
      <title>I've data in s3/Iceberg tables. How to read it using databricks SparkSQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/109768#M43385</link>
      <description>&lt;P&gt;I tried this method:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; spark.read.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"iceberg"&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;load&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"s3-bucket-path"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But got an error:&amp;nbsp;Multiple sources found for iceberg (com.databricks.sql.transaction.tahoe.uniform.sources.IcebergBrowseOnlyDataSource, org.apache.iceberg.spark.source.IcebergSource), please specify the fully qualified class name.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then updated the code like this:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; spark.read.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"org.apache.iceberg.spark.source.IcebergSource"&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;load&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"s3-bucket-path"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error:&amp;nbsp; The table or view `default_iceberg`.`s3://my-bucket-path`.`` cannot be found. Verify the spelling and correctness of the schema and catalog. If you did not qualify the name with a schema, verify the current_schema() output, or qualify the name with the correct schema and&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;How to resolve this issue and read data using databricks SparkSQL?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Note: I've installed the spark runtime jar library, configured the cluster with spark requirements and catalog setup as well.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Feb 2025 12:22:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/109768#M43385</guid>
      <dc:creator>Nalapriya</dc:creator>
      <dc:date>2025-02-11T12:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: I've data in s3/Iceberg tables. How to read it using databricks SparkSQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/109770#M43387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/129098"&gt;@Nalapriya&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What is the DBR version? and library jar version?&lt;/P&gt;
&lt;P&gt;Could you try with below code test?&lt;/P&gt;
&lt;P&gt;# Set the catalog and schema&lt;BR /&gt;spark.sql("USE CATALOG my_catalog")&lt;BR /&gt;spark.sql("USE SCHEMA my_schema")&lt;/P&gt;
&lt;P&gt;# Read the Iceberg table&lt;BR /&gt;df = spark.read.format("org.apache.iceberg.spark.source.IcebergSource").load("s3://my-bucket-path")&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 12:36:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/109770#M43387</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-02-11T12:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: I've data in s3/Iceberg tables. How to read it using databricks SparkSQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/110763#M43679</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106294"&gt;@Alberto_Umana&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the steps you've provided but still I'm not able to read data which is in iceberg format. It would be useful if I get any other suggestions.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 15:15:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/110763#M43679</guid>
      <dc:creator>Nalapriya</dc:creator>
      <dc:date>2025-02-20T15:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: I've data in s3/Iceberg tables. How to read it using databricks SparkSQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/112101#M44107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When using Unity catalog, I'm unable to create a new catalog that I can use for querying an Iceberg table.&lt;/P&gt;&lt;P&gt;How can I resolve this issue?&lt;/P&gt;&lt;P&gt;The Iceberg table is stored in S3.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Mar 2025 15:14:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-ve-data-in-s3-iceberg-tables-how-to-read-it-using-databricks/m-p/112101#M44107</guid>
      <dc:creator>Ohad-upriver</dc:creator>
      <dc:date>2025-03-09T15:14:47Z</dc:date>
    </item>
  </channel>
</rss>

