From 4d5e3176735f61cb1d247c3dc3120d1eed52c871 Mon Sep 17 00:00:00 2001 From: Beto Dealmeida Date: Wed, 26 Jul 2023 09:38:19 -0700 Subject: [PATCH] fix: pass schema on dataset creation --- .../src/SqlLab/components/SaveDatasetModal/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/superset-frontend/src/SqlLab/components/SaveDatasetModal/index.tsx b/superset-frontend/src/SqlLab/components/SaveDatasetModal/index.tsx index a42928608a9ab..7f605967ad9f6 100644 --- a/superset-frontend/src/SqlLab/components/SaveDatasetModal/index.tsx +++ b/superset-frontend/src/SqlLab/components/SaveDatasetModal/index.tsx @@ -296,6 +296,7 @@ export const SaveDatasetModal = ({ createDatasource({ sql: datasource.sql, dbId: datasource.dbId || datasource?.database?.id, + schema: datasource?.schema, templateParams, datasourceName: datasetName, }),