<?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 not populating with columns in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/information-schema-not-populating-with-columns/m-p/124318#M10343</link>
    <description>&lt;P&gt;this is definitely a bug related to older instances of azure databricks that were upgraded to use unity platform. after going back and forth with MS support for 2+ months, we made the decision to just spin up a new instance of azure databricks and connect to the same workspace. that solves the issue. the old instance has since been deprecated.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2025 12:40:57 GMT</pubDate>
    <dc:creator>KIRKQUINBAR</dc:creator>
    <dc:date>2025-07-07T12:40:57Z</dc:date>
    <item>
      <title>information_schema not populating with columns</title>
      <link>https://community.databricks.com/t5/get-started-discussions/information-schema-not-populating-with-columns/m-p/114433#M4905</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We started migrating databases from hive_metastore into unity catalog back in October 2024 and ive noticed that periodically the Catalog UI will not show columns or a data preview for some tables, but not all of them that were migrated. After some digging i realized that some tables, the columns are not being populated into the system information_schema columns table which may explain the UI issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was able to recreate the problem using some simple queries. This happens on an existing databricks instance we have had running for years where i added unity catalog on top of. If I create a brand new databricks instance, the columns being populated in system information_schema does not occur. Any one experience this issue. The table itself does show up in information_schema tables table.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;select * from system.information_schema.tables where table_catalog='development' and table_schema='default' and table_name='test_base';
select * from system.information_schema.columns where table_catalog='development' and table_schema='default' and table_name='test_base';

select * from system.information_schema.tables where table_catalog='development' and table_schema='default' and table_name='test_copy';
select * from system.information_schema.columns where table_catalog='development' and table_schema='default' and table_name='test_copy';

-- run these together and table columns WILL NOT populate
drop table if exists development.default.test_base;
create table development.default.test_base (
    id int,
    display_name string
);

-- run this without dropping table and table columns WILL populate
-- if table is dropped first then table columns WILL NOT populate
create or replace table development.default.test_base (
    id int,
    display_name string
);

-- run these together and table columns WILL NOT populate
drop table if exists development.default.test_copy;
CREATE TABLE development.default.test_copy
   DEEP CLONE development.default.test_base;

-- run this without dropping table and table columns WILL populate
-- if table is dropped first then table columns WILL NOT populate
CREATE OR REPLACE TABLE development.default.test_copy
   DEEP CLONE development.default.test_base;   &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This seems like a bug or setting that didnt get set when i converted this existing databricks instance to use unity catalog.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 17:04:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/information-schema-not-populating-with-columns/m-p/114433#M4905</guid>
      <dc:creator>KIRKQUINBAR</dc:creator>
      <dc:date>2025-04-03T17:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: information_schema not populating with columns</title>
      <link>https://community.databricks.com/t5/get-started-discussions/information-schema-not-populating-with-columns/m-p/123830#M10282</link>
      <description>&lt;P&gt;Yes, I’ve seen this too after migrating from Hive Metastore to Unity Catalog on an older workspace.&lt;/P&gt;&lt;P&gt;The issue seems to happen when using DROP TABLE + CREATE TABLE — the table appears in information_schema.tables but not in information_schema.columns. However, if you use CREATE OR REPLACE TABLE, the columns show up correctly.&lt;/P&gt;&lt;P&gt;It looks like a metadata sync bug in Unity Catalog, especially in older workspaces where Unity was added later. On newer workspaces, this doesn’t happen.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;: Use CREATE OR REPLACE instead of dropping and recreating the table. You can also try running DESCRIBE TABLE or MSCK REPAIR TABLE to force a metadata refresh.&lt;/P&gt;&lt;P&gt;I’d recommend reporting this to Databricks Support — likely a backend fix is needed to fully sync metadata after migration.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 05:57:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/information-schema-not-populating-with-columns/m-p/123830#M10282</guid>
      <dc:creator>intuz</dc:creator>
      <dc:date>2025-07-03T05:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: information_schema not populating with columns</title>
      <link>https://community.databricks.com/t5/get-started-discussions/information-schema-not-populating-with-columns/m-p/124318#M10343</link>
      <description>&lt;P&gt;this is definitely a bug related to older instances of azure databricks that were upgraded to use unity platform. after going back and forth with MS support for 2+ months, we made the decision to just spin up a new instance of azure databricks and connect to the same workspace. that solves the issue. the old instance has since been deprecated.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 12:40:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/information-schema-not-populating-with-columns/m-p/124318#M10343</guid>
      <dc:creator>KIRKQUINBAR</dc:creator>
      <dc:date>2025-07-07T12:40:57Z</dc:date>
    </item>
  </channel>
</rss>

