apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
62.59k stars 13.79k forks source link

"Allow file uploads to database" is missing (when creating a connection) #30504

Open xavier-GitHub76 opened 1 month ago

xavier-GitHub76 commented 1 month ago

Bug description

"Allow file uploads to database" is :

Screenshots/recordings

Import CSV option is missing Import CSV option is present

Superset version

4.0.2

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

dosubot[bot] commented 1 month ago

The visibility of the "Allow file uploads to database" option in the connection creation dialog is controlled by the condition isFileUploadSupportedByEngine. This condition checks if the database engine supports file uploads. If isFileUploadSupportedByEngine is true, the option is displayed [1].

If the option is missing during the creation of a connection but present during editing, it might be due to the database engine not supporting file uploads at the time of creation, or the condition not being met for some reason. You might want to verify if the database engine supports file uploads and ensure that the condition is correctly evaluated during the creation process.

To continue talking to Dosu, mention @dosu.

rusackas commented 1 month ago

Assigning to @betodealmeida and @yousoph, but @sadpandajoe might be interested here as well.

sadpandajoe commented 1 month ago

do you mean "Allow file uploads to database"? Neither screenshots have a CSV option listed in them

xavier-GitHub76 commented 4 weeks ago

Yes, it's "Allow file uploads to database". My screenshots mention "CSV import" but it's too limited