You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2023/07/26 16:38:34 UTC

[superset] 01/01: fix: pass schema on dataset creation

This is an automated email from the ASF dual-hosted git repository.

beto pushed a commit to branch sc-72631
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 4d5e3176735f61cb1d247c3dc3120d1eed52c871
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Wed Jul 26 09:38:19 2023 -0700

    fix: pass schema on dataset creation
---
 superset-frontend/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 a42928608a..7f605967ad 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,
       }),