<?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: No parent external location found for &amp;lt;S3-location&amp;gt; | External Table in UnityCatalog in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33472#M984</link>
    <description>&lt;P&gt;In Unity catalog you have to pre-define the EXTERNAL LOCATION (and a STORAGE CREDENTIAL) before you use it this way. Please refer below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html#manage-external-locations" alt="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html#manage-external-locations" target="_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html#manage-external-locations&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 16:28:15 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2022-08-25T16:28:15Z</dc:date>
    <item>
      <title>No parent external location found for &lt;S3-location&gt; | External Table in UnityCatalog</title>
      <link>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33471#M983</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to adopt the Unity Catalog and are testing out creating an External table with some data from the samples catalog that comes along with creating a meta store. The command we are using is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE TABLE IF NOT EXISTS my_catalog.quickstart_schema.trips_external
LOCATION 's3://somebucket/path'
AS SELECT * from samples.nyctaxi.trips;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I am running this command- I keep on getting an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;Error in SQL statement: NoParentExternalLocationForPathException: No parent external location found for path '&lt;/I&gt;s3://somebucket/path&lt;I&gt;'&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was following the doc: &lt;A href="https://docs.databricks.com/data-governance/unity-catalog/create-tables.html#create-a-table-from-the-files" target="test_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/create-tables.html#create-a-table-from-the-files&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but I am not getting any information regarding this. Can someone please help me why is this error coming up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to read some data from this bucket - I am able to do so - meaning, I have the access to the bucket.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 12:24:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33471#M983</guid>
      <dc:creator>Kanib</dc:creator>
      <dc:date>2022-08-25T12:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: No parent external location found for &lt;S3-location&gt; | External Table in UnityCatalog</title>
      <link>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33473#M985</link>
      <description>&lt;P&gt;hey @Debayan Mukherjee​&amp;nbsp; thanks for the answer.&lt;/P&gt;&lt;P&gt;Yeah, I did not create a pre-defined external location- Does that means, in UC,  I can create an external table only using the pre-defined External Location?&lt;/P&gt;&lt;P&gt;Also, if yes, then can I have more than one external Location in the UC?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 06:17:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33473#M985</guid>
      <dc:creator>Kanib</dc:creator>
      <dc:date>2022-08-26T06:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: No parent external location found for &lt;S3-location&gt; | External Table in UnityCatalog</title>
      <link>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33475#M987</link>
      <description>&lt;P&gt;Thanks @Debayan Mukherjee​&amp;nbsp; for the response and help- I will certainly try out with multiple External Locations (with separate Storage credentials). &lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 17:25:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33475#M987</guid>
      <dc:creator>Kanib</dc:creator>
      <dc:date>2022-08-26T17:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: No parent external location found for &lt;S3-location&gt; | External Table in UnityCatalog</title>
      <link>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33476#M988</link>
      <description>&lt;P&gt;hey @Debayan Mukherjee​&amp;nbsp;, while testing out the external table - I also wanted to add partitions using the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALTER TABLE mycatalog.kanib.UnacastUSS3TargetMinimised ADD IF NOT EXISTS PARTITION (`year`='2022', `month`='02', `day`='05')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is failing with an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`AnalysisException: ALTER TABLE (add partition) is not supported in Unity Catalog`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the alternative in the case of UC- if any?&lt;/P&gt;&lt;P&gt;If not, then what is the way to tackle this scenario?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 11:31:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33476#M988</guid>
      <dc:creator>Kanib</dc:creator>
      <dc:date>2022-08-29T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: No parent external location found for &lt;S3-location&gt; | External Table in UnityCatalog</title>
      <link>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33472#M984</link>
      <description>&lt;P&gt;In Unity catalog you have to pre-define the EXTERNAL LOCATION (and a STORAGE CREDENTIAL) before you use it this way. Please refer below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html#manage-external-locations" alt="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html#manage-external-locations" target="_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html#manage-external-locations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 16:28:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33472#M984</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-08-25T16:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: No parent external location found for &lt;S3-location&gt; | External Table in UnityCatalog</title>
      <link>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33474#M986</link>
      <description>&lt;P&gt;@Mohammad Shoaib​&amp;nbsp;Yes, each cloud storage path can be associated with only one external location. If you attempt to create a second external location that references the same path, the command fails.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 14:33:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33474#M986</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-08-26T14:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: No parent external location found for &lt;S3-location&gt; | External Table in UnityCatalog</title>
      <link>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33477#M989</link>
      <description>&lt;P&gt;Hi @Mohammad Shoaib​&amp;nbsp;, ALTER TABLE is supported by Unity Catalog, this error is typically due to Network misconfigurations. Could you please check your network configuration and confirm? &lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 21:11:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/no-parent-external-location-found-for-lt-s3-location-gt-external/m-p/33477#M989</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-09-02T21:11:22Z</dc:date>
    </item>
  </channel>
</rss>

