@@ -106,13 +111,15 @@ export const TableSchema = ({
))}
- {column.description} |
- {assetKeyForColumnSchema ? (
+
+
+ |
+ {assetKey ? (
}
- to={assetDetailsPathForKey(assetKeyForColumnSchema, {
+ to={assetDetailsPathForKey(assetKey, {
view: 'lineage',
column: column.name,
})}
@@ -135,7 +142,7 @@ export const TableSchema = ({
);
};
-const iconForType = (type: string): IconName | null => {
+export const iconForColumnType = (type: string): IconName | null => {
const lower = type.toLowerCase();
if (lower.includes('bool')) {
return 'datatype_bool';
@@ -161,7 +168,7 @@ export const TypeTag = ({type = ''}: {type: string}) => {
return ;
}
- const icon = iconForType(type);
+ const icon = iconForColumnType(type);
return (
|