#17437 Data Quality UI can't display type as column name (#17442)

This commit is contained in:
Shailesh Parmar 2024-08-14 23:31:41 +05:30 committed by GitHub
parent de3a82eeb6
commit 75f62a7872
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -47,7 +47,6 @@ ENTITY_TYPE
| 'searchService'
| 'webhook'
| 'mlmodel'
| 'type'
| 'team'
| 'user'
| 'bot'

View File

@ -130,4 +130,12 @@ describe('Test EntityLink', () => {
'<#E::table::sample_data.ecommerce_db.shopify.dim_address::columns::address_id>'
);
});
it('should return column name if column name is "type"', () => {
const entityLink =
'<#E::table::pw-database-service-69e197ad.pw-database-76212f52.pw-database-schema-473d89b5.pw-table-c0cfe45a::columns::type>';
const columnName = EntityLink.getTableColumnName(entityLink);
expect(columnName).toStrictEqual('type');
});
});