fix(SQL Lab): syncTable on new tabs (#35216)

This commit is contained in:
Beto Dealmeida
2025-09-24 11:58:54 -04:00
committed by GitHub
parent ec322dfd8d
commit 94686ddfbe
5 changed files with 91 additions and 3 deletions

View File

@@ -956,7 +956,7 @@ export function addTable(queryEditor, tableName, catalogName, schemaName) {
const { dbId } = getUpToDateQuery(getState(), queryEditor, queryEditor.id);
const table = {
dbId,
queryEditorId: queryEditor.id,
queryEditorId: queryEditor.tabViewId ?? queryEditor.id,
catalog: catalogName,
schema: schemaName,
name: tableName,