no information on character_maximum_length and is_identity in unity catalog table system.information_schema.columns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2022 11:13 AM
no information on character_maximum_length and is_identity in unity catalog table system.information_schema.columns
table definition example
CREATE TABLE tyable_name (
UniqueID bigint not null GENERATED ALWAYS AS IDENTITY ,
ID varchar(256)
)
looks like the columns table only has basic info such as data type
-- query column info
select *
from system.information_schema.columns
where table_name ='<table>' and table_catalog ='<catalog>'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 09:36 AM
Hi,
Could you please confirm on the issue here? Also, for reference: https://docs.databricks.com/data-governance/unity-catalog/migrate.html
, please let us know if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2023 05:30 AM
yes, I created a new managed table in the unity catalog, and the issues remain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 05:07 AM
I confirm I have the same issue with the unity catalog: schema tables are missing some information, or they are incorrect. @Prabakar Ammeappin @Kaniz Fatma @Sujitha Ramamoorthy maybe we can escalate to someone from Unity team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 09:52 PM
another issue is if a column is defined as varchar(50) as example
once a data is loaded, the full_data_type is changed to string. I tested multiple times, and looks like that's also an issue
before
after data loaded with a insert statement
full_data_type is changed
select column_name, full_data_type, data_type, character_maximum_length, ordinal_position, *
from system.information_schema.columns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2023 01:13 AM
@Werner Stinckens @Christy Seto @Jose Gonzalez can you help with that issue? It is a really interesting bug and a nice feature once it will work correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2023 11:21 AM
Adding @Kaniz Fatma and @Suteja Kanuri for visibility
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 02:47 AM
Hello Team,
Still i am facing same issue of value zero in character_maximum_length. Is there any other way we can get character_maximum_length of columns?
When we can expect to resolve this bug?

