File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
connectors/snowflake/temporal Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ export async function syncSnowflakeConnection(connectorId: ModelId) {
170
170
`${ table . databaseName } .${ table . schemaName } ` ,
171
171
table . databaseName ,
172
172
] ,
173
+ parentId : `${ table . databaseName } .${ table . schemaName } ` ,
173
174
title : table . name ,
174
175
mimeType : "application/vnd.snowflake.table" ,
175
176
} ) ;
Original file line number Diff line number Diff line change @@ -631,6 +631,7 @@ export async function upsertDataSourceRemoteTable({
631
631
remoteDatabaseSecretId,
632
632
loggerArgs,
633
633
parents,
634
+ parentId,
634
635
title,
635
636
mimeType,
636
637
} : {
@@ -642,6 +643,7 @@ export async function upsertDataSourceRemoteTable({
642
643
remoteDatabaseSecretId : string | null ;
643
644
loggerArgs ?: Record < string , string | number > ;
644
645
parents : string [ ] ;
646
+ parentId : string | null ;
645
647
title : string ;
646
648
mimeType : string ;
647
649
} ) {
@@ -666,6 +668,7 @@ export async function upsertDataSourceRemoteTable({
666
668
const dustRequestPayload : UpsertDatabaseTableRequestType = {
667
669
name : tableName ,
668
670
parents,
671
+ parent_id : parentId ,
669
672
description : tableDescription ,
670
673
table_id : tableId ,
671
674
remote_database_table_id : remoteDatabaseTableId ,
You can’t perform that action at this time.
0 commit comments