<?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: DeltaTable.forPath(spark, path) doesnt recognize table in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30937#M886</link>
    <description>&lt;P&gt;AnalysisException: `s3://......` is not a Delta table.&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;AnalysisException                         Traceback (most recent call last)&lt;/P&gt;&lt;P&gt;&amp;lt;command-1069785358704323&amp;gt; in &amp;lt;cell line: 2&amp;gt;()&lt;/P&gt;&lt;P&gt;      1 silver_table_uri&lt;/P&gt;&lt;P&gt;----&amp;gt; 2 DeltaTable.forPath(spark,silver_table_uri)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/databricks/spark/python/delta/tables.py in forPath(cls, sparkSession, path, hadoopConf)&lt;/P&gt;&lt;P&gt;    385         jsparkSession: "JavaObject" = sparkSession._jsparkSession  # type: ignore[attr-defined]&lt;/P&gt;&lt;P&gt;    386 &lt;/P&gt;&lt;P&gt;--&amp;gt; 387         jdt = jvm.io.delta.tables.DeltaTable.forPath(jsparkSession, path, hadoopConf)&lt;/P&gt;&lt;P&gt;    388         return DeltaTable(sparkSession, jdt)&lt;/P&gt;&lt;P&gt;    389 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/databricks/spark/python/lib/py4j-0.10.9.5-src.zip/py4j/java_gateway.py in __call__(self, *args)&lt;/P&gt;&lt;P&gt;   1319 &lt;/P&gt;&lt;P&gt;   1320         answer = self.gateway_client.send_command(command)&lt;/P&gt;&lt;P&gt;-&amp;gt; 1321         return_value = get_return_value(&lt;/P&gt;&lt;P&gt;   1322             answer, self.gateway_client, self.target_id, self.name)&lt;/P&gt;&lt;P&gt;   1323 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/databricks/spark/python/pyspark/sql/utils.py in deco(*a, **kw)&lt;/P&gt;&lt;P&gt;    200                 # Hide where the exception came from that shows a non-Pythonic&lt;/P&gt;&lt;P&gt;    201                 # JVM exception message.&lt;/P&gt;&lt;P&gt;--&amp;gt; 202                 raise converted from None&lt;/P&gt;&lt;P&gt;    203             else:&lt;/P&gt;&lt;P&gt;    204                 raise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AnalysisException: `s3://.....` is not a Delta table.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2022 22:23:56 GMT</pubDate>
    <dc:creator>amitca71</dc:creator>
    <dc:date>2022-09-23T22:23:56Z</dc:date>
    <item>
      <title>DeltaTable.forPath(spark, path) doesnt recognize table</title>
      <link>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30935#M884</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working with unity catalog for the last week. &lt;/P&gt;&lt;P&gt;I'm refering to delta table by path, as follwing: &lt;/P&gt;&lt;P&gt;path='s3://&amp;lt;my_bucket_name&amp;gt;/silver/data/&amp;lt;table_name&amp;gt;&lt;/P&gt;&lt;P&gt;DeltaTable.forPath(spark, path)&lt;/P&gt;&lt;P&gt;I get an exception that "is not a Delta table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the table name using: DeltaTable.forName(spark, &amp;lt;table_name&amp;gt;)&lt;/P&gt;&lt;P&gt;everything works fine. both the attributes are exactly as apear on uc catalog (and data apears in S3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dbutils.fs.ls(path)  - also recognizes the content&lt;/P&gt;&lt;P&gt;till yesterday it was working fine, and the problem started 23/9/22 on the morning.&lt;/P&gt;&lt;P&gt;Anybody face the same issue?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1456i40C7134F011D4D44/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 21:16:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30935#M884</guid>
      <dc:creator>amitca71</dc:creator>
      <dc:date>2022-09-23T21:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: DeltaTable.forPath(spark, path) doesnt recognize table</title>
      <link>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30936#M885</link>
      <description>&lt;P&gt;@Amit Cahanovich​&amp;nbsp; - could you please share the full error stack trace? &lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 21:35:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30936#M885</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2022-09-23T21:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: DeltaTable.forPath(spark, path) doesnt recognize table</title>
      <link>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30937#M886</link>
      <description>&lt;P&gt;AnalysisException: `s3://......` is not a Delta table.&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;AnalysisException                         Traceback (most recent call last)&lt;/P&gt;&lt;P&gt;&amp;lt;command-1069785358704323&amp;gt; in &amp;lt;cell line: 2&amp;gt;()&lt;/P&gt;&lt;P&gt;      1 silver_table_uri&lt;/P&gt;&lt;P&gt;----&amp;gt; 2 DeltaTable.forPath(spark,silver_table_uri)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/databricks/spark/python/delta/tables.py in forPath(cls, sparkSession, path, hadoopConf)&lt;/P&gt;&lt;P&gt;    385         jsparkSession: "JavaObject" = sparkSession._jsparkSession  # type: ignore[attr-defined]&lt;/P&gt;&lt;P&gt;    386 &lt;/P&gt;&lt;P&gt;--&amp;gt; 387         jdt = jvm.io.delta.tables.DeltaTable.forPath(jsparkSession, path, hadoopConf)&lt;/P&gt;&lt;P&gt;    388         return DeltaTable(sparkSession, jdt)&lt;/P&gt;&lt;P&gt;    389 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/databricks/spark/python/lib/py4j-0.10.9.5-src.zip/py4j/java_gateway.py in __call__(self, *args)&lt;/P&gt;&lt;P&gt;   1319 &lt;/P&gt;&lt;P&gt;   1320         answer = self.gateway_client.send_command(command)&lt;/P&gt;&lt;P&gt;-&amp;gt; 1321         return_value = get_return_value(&lt;/P&gt;&lt;P&gt;   1322             answer, self.gateway_client, self.target_id, self.name)&lt;/P&gt;&lt;P&gt;   1323 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/databricks/spark/python/pyspark/sql/utils.py in deco(*a, **kw)&lt;/P&gt;&lt;P&gt;    200                 # Hide where the exception came from that shows a non-Pythonic&lt;/P&gt;&lt;P&gt;    201                 # JVM exception message.&lt;/P&gt;&lt;P&gt;--&amp;gt; 202                 raise converted from None&lt;/P&gt;&lt;P&gt;    203             else:&lt;/P&gt;&lt;P&gt;    204                 raise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AnalysisException: `s3://.....` is not a Delta table.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 22:23:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30937#M886</guid>
      <dc:creator>amitca71</dc:creator>
      <dc:date>2022-09-23T22:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: DeltaTable.forPath(spark, path) doesnt recognize table</title>
      <link>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30938#M887</link>
      <description>&lt;P&gt;its even more weired. on one next cells it doesnt... see below older version even by name doesnt work&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1454iCA168A879237370D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;﻿&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2022 06:04:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30938#M887</guid>
      <dc:creator>amitca71</dc:creator>
      <dc:date>2022-09-24T06:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: DeltaTable.forPath(spark, path) doesnt recognize table</title>
      <link>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30939#M888</link>
      <description>&lt;P&gt;on version 10.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image&amp;amp;quot; data-fileid=&amp;amp;quot;0698Y00000MwjhGQAR"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1458iCEA9E64235CF0B13/image-size/large?v=v2&amp;amp;px=999" role="button" title="image&amp;amp;quot; data-fileid=&amp;amp;quot;0698Y00000MwjhGQAR" alt="image&amp;amp;quot; data-fileid=&amp;amp;quot;0698Y00000MwjhGQAR" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2022 07:27:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/deltatable-forpath-spark-path-doesnt-recognize-table/m-p/30939#M888</guid>
      <dc:creator>amitca71</dc:creator>
      <dc:date>2022-09-24T07:27:38Z</dc:date>
    </item>
  </channel>
</rss>

