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/01/23 19:50:47 UTC

[superset] branch master updated: fix: allow CSV upload in Other db (#22807)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3084763eb7 fix: allow CSV upload in Other db (#22807)
3084763eb7 is described below

commit 3084763eb70fa92899e932d8ec95b52cf36ade3d
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Mon Jan 23 11:50:38 2023 -0800

    fix: allow CSV upload in Other db (#22807)
---
 superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
index d687d89e26..62346d16b0 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
@@ -817,6 +817,9 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
           database_name,
           configuration_method: CONFIGURATION_METHOD.SQLALCHEMY_URI,
           engine: undefined,
+          engine_information: {
+            supports_file_upload: true,
+          },
         },
       });
     } else {