Antonio-RiveroMartnez opened a new pull request, #21065: URL: https://github.com/apache/superset/pull/21065
### SUMMARY Our users are getting an `Internal Server Error 500` when trying to upload files to `GSheets` databases, that's because such databases don't support file upload nor the `Clickhouse` ones thus we need to stop showing such options to the users and prevent that existing ones get displayed in the upload form. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before:  After:  ### TESTING INSTRUCTIONS 1. When selecting a DB type, if GSheet or Clickhouse is selected the `Allow data upload` checkbox is not displayed in the form 2. Enabled the file upload menu only if there is any exiting DB with allow_file_upload flag set to true and that is not `GSheets` nor `Clickhouse` 3. When the form to file upload files is opened, the `Database` dropdown must not contain any `GSheets` nor `Clickhouse` DB. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [X] Has associated issue: https://github.com/apache/superset/issues/19247 - [ ] Required feature flags: - [X] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
