<?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 dbutils.fs.ls doesn't work on Unity catalog managed location in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/dbutils-fs-ls-doesn-t-work-on-unity-catalog-managed-location/m-p/8520#M271</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dbutils.fs.ls() is a most useful utility to list the files in remote cloud storage. I cannot use this function on top of the location managed by the Unity catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a managed external location created on `'abfss://xyz@abcd.dfs.core.windows.net/` where my schema is created. When i try to list the files created by the tables inside this schema, i get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;%py display(dbutils.fs.ls('abfss://xyz@abcd.dfs.core.windows.net/__unitystorage/schemas/5551e5b7-dd3f-45cb-94ce-a572e3ff7760/tables/0fbd721d-1701-4516-ad09-d04a3057e016'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error message&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;AnalysisException: [RequestId=80fd99cc-efd3-44c3-86ae-17bbd5e699bb ErrorClass=INVALID_PARAMETER_VALUE.LOCATION_OVERLAP] Input path url 'abfss://xyz@abcd.dfs.core.windows.net/__unitystorage/schemas/5551e5b7-dd3f-45cb-94ce-a572e3ff7760/tables/0fbd721d-1701-4516-ad09-d04a3057e016' overlaps with managed storage&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;I tried to run **list** command as well. It works only on the exact location. But throws error when tries to list the directory inside it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below code works.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;list 'abfss://xyz@abcd.dfs.core.windows.net/'  &lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;Below code doesn't work.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;list 'abfss://xyz@abcd.dfs.core.windows.net/__unitystorage/'.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an expected behavior? If yes, we are missing a great utility in the unity catalog. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any work around or am I missing something? &lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 09:11:29 GMT</pubDate>
    <dc:creator>venkad</dc:creator>
    <dc:date>2023-03-01T09:11:29Z</dc:date>
    <item>
      <title>dbutils.fs.ls doesn't work on Unity catalog managed location</title>
      <link>https://community.databricks.com/t5/data-governance/dbutils-fs-ls-doesn-t-work-on-unity-catalog-managed-location/m-p/8520#M271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dbutils.fs.ls() is a most useful utility to list the files in remote cloud storage. I cannot use this function on top of the location managed by the Unity catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a managed external location created on `'abfss://xyz@abcd.dfs.core.windows.net/` where my schema is created. When i try to list the files created by the tables inside this schema, i get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;%py display(dbutils.fs.ls('abfss://xyz@abcd.dfs.core.windows.net/__unitystorage/schemas/5551e5b7-dd3f-45cb-94ce-a572e3ff7760/tables/0fbd721d-1701-4516-ad09-d04a3057e016'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error message&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;AnalysisException: [RequestId=80fd99cc-efd3-44c3-86ae-17bbd5e699bb ErrorClass=INVALID_PARAMETER_VALUE.LOCATION_OVERLAP] Input path url 'abfss://xyz@abcd.dfs.core.windows.net/__unitystorage/schemas/5551e5b7-dd3f-45cb-94ce-a572e3ff7760/tables/0fbd721d-1701-4516-ad09-d04a3057e016' overlaps with managed storage&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;I tried to run **list** command as well. It works only on the exact location. But throws error when tries to list the directory inside it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below code works.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;list 'abfss://xyz@abcd.dfs.core.windows.net/'  &lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;Below code doesn't work.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;list 'abfss://xyz@abcd.dfs.core.windows.net/__unitystorage/'.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an expected behavior? If yes, we are missing a great utility in the unity catalog. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any work around or am I missing something? &lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 09:11:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/dbutils-fs-ls-doesn-t-work-on-unity-catalog-managed-location/m-p/8520#M271</guid>
      <dc:creator>venkad</dc:creator>
      <dc:date>2023-03-01T09:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: dbutils.fs.ls doesn't work on Unity catalog managed location</title>
      <link>https://community.databricks.com/t5/data-governance/dbutils-fs-ls-doesn-t-work-on-unity-catalog-managed-location/m-p/8522#M273</link>
      <description>&lt;P&gt;This is an expected behaviour. You trying to query the managed location of a catalog and this path is to be accessed by UC only, so abfss://xyz@abcd.dfs.core.windows.net/__unitystorage/* won't be accessible. Any subdirectories within xyz container will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;list 'abfss://xyz@abcd.dfs.core.windows.net/&amp;lt;sub_directory&amp;gt; should work&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2023 23:54:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/dbutils-fs-ls-doesn-t-work-on-unity-catalog-managed-location/m-p/8522#M273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-11T23:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: dbutils.fs.ls doesn't work on Unity catalog managed location</title>
      <link>https://community.databricks.com/t5/data-governance/dbutils-fs-ls-doesn-t-work-on-unity-catalog-managed-location/m-p/8523#M274</link>
      <description>&lt;P&gt;Hi @Venkadeshwaran K​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 09:02:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/dbutils-fs-ls-doesn-t-work-on-unity-catalog-managed-location/m-p/8523#M274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-30T09:02:03Z</dc:date>
    </item>
  </channel>
</rss>

