mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-01 05:03:10 +00:00
parent
de3a82eeb6
commit
75f62a7872
@ -47,7 +47,6 @@ ENTITY_TYPE
|
|||||||
| 'searchService'
|
| 'searchService'
|
||||||
| 'webhook'
|
| 'webhook'
|
||||||
| 'mlmodel'
|
| 'mlmodel'
|
||||||
| 'type'
|
|
||||||
| 'team'
|
| 'team'
|
||||||
| 'user'
|
| 'user'
|
||||||
| 'bot'
|
| 'bot'
|
||||||
|
@ -130,4 +130,12 @@ describe('Test EntityLink', () => {
|
|||||||
'<#E::table::sample_data.ecommerce_db.shopify.dim_address::columns::address_id>'
|
'<#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');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user