mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-16 02:59:08 +00:00
FEAT: update protospack-v2 dependency to version 3.40.0-beta.18 and refactor UpdateDataAsset method in CatalogService
This commit is contained in:
@@ -473,15 +473,7 @@ class CatalogService implements OnModuleInit {
|
||||
metadata: Metadata,
|
||||
) {
|
||||
await lastValueFrom(
|
||||
this.catalogWriteService.UpdateDataAsset(
|
||||
{
|
||||
id,
|
||||
changes: JSON.stringify({
|
||||
column_descriptions: columns,
|
||||
}),
|
||||
},
|
||||
metadata,
|
||||
),
|
||||
this.catalogWriteService.UpdateColumnDescriptions({ id, columns }, metadata),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -850,6 +842,7 @@ class CatalogService implements OnModuleInit {
|
||||
data_asset_id: table_metadata_id.toString(),
|
||||
customer_name: customer_name,
|
||||
data_asset_type: 'dataset',
|
||||
column_metadata: [],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user