mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
fix(file_upload): Fix columnar and Excel upload forms (#22249)
This commit is contained in:
committed by
GitHub
parent
389e44e1c5
commit
fb3e717573
@@ -144,7 +144,7 @@ def upload_excel(
|
||||
form_data = {
|
||||
"excel_file": open(filename, "rb"),
|
||||
"name": table_name,
|
||||
"con": excel_upload_db_id,
|
||||
"database": excel_upload_db_id,
|
||||
"sheet_name": "Sheet1",
|
||||
"if_exists": "fail",
|
||||
"index_label": "test_label",
|
||||
@@ -165,7 +165,7 @@ def upload_columnar(
|
||||
form_data = {
|
||||
"columnar_file": open(filename, "rb"),
|
||||
"name": table_name,
|
||||
"con": columnar_upload_db_id,
|
||||
"database": columnar_upload_db_id,
|
||||
"if_exists": "fail",
|
||||
"index_label": "test_label",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user