Assets not visible for "Child Columns" (1.1)
Affected module Glossary
Describe the bug
- I have a table. A column of STRUCT type has 2 child columns
- I have tagged the table, the primary column and the child columns with Glossary terms
ONLY the Glossary Terms tagging the Table and Primary Column, display Asset Info on the Glossary Term page.
To Reproduce
- Create a table with child columns.
- Tag with Glossary Terms the table, the Parent and the Children
- Check which terms display Asset
{
"name": "Parent",
"dataType": "STRUCT",
"dataLength": 10,
"dataTypeDisplay": "struct",
"description": "Customer Number. Explicit search help attachment to field ",
"fullyQualifiedName": "testcc.ECC.LO.KNA1.Parent",
"constraint": "NOT_NULL",
"ordinalPosition": 3,
"children": [
{
"name": "Child",
"dataType": "CHAR",
"dataLength": 10,
"description": "child",
"fullyQualifiedName": "testcc.ECC.LO.KNA1.Parent.Child",
"constraint": "NOT_NULL",
"ordinalPosition": 1
},
{
"name": "GrandChild",
"dataType": "CHAR",
"dataLength": 10,
"description": "grandchild",
"fullyQualifiedName": "testcc.ECC.LO.KNA1.Parent.GrandChild",
"constraint": "NOT_NULL",
"ordinalPosition": 2
}
]
}
Expected behavior All terms used for tagging columns / tables should show asset
Version:
- OS: [e.g. iOS]
- Python version:
- OpenMetadata version: [e.g.1.0]
- OpenMetadata Ingestion package version: [e.g.
openmetadata-ingestion[docker]==XYZ]
Additional context Add any other context about the problem here.
Parent term tagged to column = shows asset GrandParent term tagged to child column, assets 0
still a problem for 1.1
Hi, do we have a roadmap fix for this bug?
@DovileKr would be part of 1.1.2 @07Himank currently the ES query for column.children will go into one level of depth we need to find a better operator. Previously we used to merge all levels of column names into a single array and index it. So that we can look it up using column_array.
@harshach still not there for 1.1.3, yes?
Example out of Sandbox: https://sandbox.open-metadata.org/table/BigQueryProd.modified-leaf-330420.sdoh_cms_dual_eligible_enrollment.nested_struct
tagged struct column with https://sandbox.open-metadata.org/glossary/Lead.lead_address_city, but no assets is shown.
https://github.com/open-metadata/OpenMetadata/pull/13539 this will fix thie issue