<?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: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3532#M138</link>
    <description>&lt;P&gt;no idea, I guess information_schema, being generated, follows some special logic.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 07:58:25 GMT</pubDate>
    <dc:creator>-werners-</dc:creator>
    <dc:date>2023-06-07T07:58:25Z</dc:date>
    <item>
      <title>INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3524#M130</link>
      <description>&lt;P&gt;I have created a metastore and within that metastore i have created multiple schemas and tables underlying it but none of table details is visible from information schema. All the tables are empty.&lt;/P&gt;&lt;P&gt;Could you please let me know if I am missing here. Below query is returning no data.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sql
select * from &amp;lt;catalog_name&amp;gt;.information_schema.tables&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 05:31:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3524#M130</guid>
      <dc:creator>Databricks3</dc:creator>
      <dc:date>2023-06-07T05:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3525#M131</link>
      <description>&lt;P&gt;I think that it only applies to Unity.&lt;/P&gt;&lt;P&gt;If you want to list the tables of a schema; you can use SHOW TABLES (after USE &amp;lt;schema&amp;gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:01:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3525#M131</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T07:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3526#M132</link>
      <description>&lt;P&gt;I am using Unity Catalog pointing to s3&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:04:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3526#M132</guid>
      <dc:creator>Databricks3</dc:creator>
      <dc:date>2023-06-07T07:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3527#M133</link>
      <description>&lt;P&gt;Could be a permission issue or a wrong query,&lt;/P&gt;&lt;P&gt;can you try this query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; SELECT table_owner&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;FROM information_schema.tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;WHERE table_schema = 'information_schema'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AND table_name = 'columns';&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:12:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3527#M133</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T07:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3528#M134</link>
      <description>&lt;P&gt;Getting the below error message. Even if I use &amp;lt;catalog_name&amp;gt;.information_schema.tables it is not returning anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/115i1AA8418A7A536D1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:17:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3528#M134</guid>
      <dc:creator>Databricks3</dc:creator>
      <dc:date>2023-06-07T07:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3529#M135</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting the below result.@Werner Stinckens​&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/120i0A5B1D4CD2B771EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:41:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3529#M135</guid>
      <dc:creator>Databricks3</dc:creator>
      <dc:date>2023-06-07T07:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3530#M136</link>
      <description>&lt;P&gt;ok so it is not a permission issue.&lt;/P&gt;&lt;P&gt;Meaning your query needs change.&lt;/P&gt;&lt;P&gt;What exactly do you want to see?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-information-schema.html" alt="https://docs.databricks.com/sql/language-manual/sql-ref-information-schema.html" target="_blank"&gt;Here you can find the ERD&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:45:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3530#M136</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T07:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3531#M137</link>
      <description>&lt;P&gt;I can access all the tables if I use system.information_schema instead of catalog_name.information_schema. But my point is why it is working in this way. When I am creating a catalog, a information_schema is created inside it by default. &lt;/P&gt;&lt;P&gt;And it is having no information of the same catalog.&lt;/P&gt;&lt;P&gt;Anyway now I can access it using system. Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; @Werner Stinckens​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:53:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3531#M137</guid>
      <dc:creator>Databricks3</dc:creator>
      <dc:date>2023-06-07T07:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3532#M138</link>
      <description>&lt;P&gt;no idea, I guess information_schema, being generated, follows some special logic.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:58:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3532#M138</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-07T07:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3533#M139</link>
      <description>&lt;P&gt;Hi @SK ASIF ALI​&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, 08 Jun 2023 08:26:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/3533#M139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-08T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/41332#M2084</link>
      <description>&lt;P&gt;I noticed this issue is currently caused when you rename a catalog.&amp;nbsp; The contents of &amp;lt;catalog&amp;gt;.information_schema are all views like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;*&lt;/SPAN&gt;
&lt;SPAN class=""&gt;FROM&lt;/SPAN&gt;
&lt;SPAN&gt;  system&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;information_schema&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;columns&lt;/SPAN&gt;
&lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt;
&lt;SPAN&gt;  table_catalog &lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;'&amp;lt;catalog&amp;gt;'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;If you rename the catalog, the view definitions don't get updated.&amp;nbsp; For example, if you made a catalog named `my_awesome_catalog`, then the view in `my_awesome_catalog.information_schema` will be:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;*&lt;/SPAN&gt;
&lt;SPAN class=""&gt;FROM&lt;/SPAN&gt;
&lt;SPAN&gt;  system&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;information_schema&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;columns&lt;/SPAN&gt;
&lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt;
&lt;SPAN&gt;  table_catalog &lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;'my_awesome_catalog'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;If you then renamed `my_awesome_catalog` to `my_new_named_catalog`, the view inside `my_new_named_catalog.information_schema` will&amp;nbsp;&lt;STRONG&gt;remain unchanged&lt;/STRONG&gt;, and will still be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;*&lt;/SPAN&gt;
&lt;SPAN class=""&gt;FROM&lt;/SPAN&gt;
&lt;SPAN&gt;  system&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;information_schema&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;columns&lt;/SPAN&gt;
&lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt;
&lt;SPAN&gt;  table_catalog &lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;'my_awesome_catalog'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming you no longer have a catalog named `my_awesome_catalog`, this will return zero rows.&amp;nbsp; Even worse, if you make a new catalog named `my_awesome_catalog`, the&amp;nbsp;`my_new_named_catalog.information_schema` views will return the wrong information completely.&lt;/P&gt;&lt;P&gt;Not great overall, definitively an easily identifiable bug in Databricks.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 11:54:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/41332#M2084</guid>
      <dc:creator>EwenGillies</dc:creator>
      <dc:date>2023-08-24T11:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION</title>
      <link>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/49590#M2692</link>
      <description>&lt;P&gt;I can confirm this as a bug, either remove the ability to rename a catalog from the UI, or fix it or provide a method to rebuild the information_Schema views.&amp;nbsp; Took me a while to track this down thinking it was a permissions issue, but turned out the creator of the catalog renamed it right after they realized their mistake instead of re-creating the catalog.&lt;/P&gt;&lt;P&gt;Now we have 2 days of work to do to rebuild the catalog into a new catalog since a user can't modify the infomration_schema views to resolve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 12:32:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/information-schema-is-not-populated-with-table-information/m-p/49590#M2692</guid>
      <dc:creator>John_Gooding</dc:creator>
      <dc:date>2023-10-20T12:32:16Z</dc:date>
    </item>
  </channel>
</rss>

