dosubot[bot] commented on issue #35357:
URL: https://github.com/apache/superset/issues/35357#issuecomment-3354863488

   <!-- Greeting -->
   Hi @shihkauskas! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the 
superset team.
   
   <!-- Answer -->
   In Superset 5.0.0, the visibility of the "Upload CSV/Excel" buttons is 
determined by stricter checks than in previous versions. The global 
`ENABLE_FILE_UPLOAD` setting is no longer sufficient; the UI only shows upload 
options if there is at least one database with "Allow file upload" enabled and 
the database engine supports file upload (not all engines do—SQLite, for 
example, does not) [see code 
details](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/pages/DatabaseList/index.tsx).
   
   To restore the upload buttons, make sure:
   - Your target database (not SQLite) has "Allow file upload" enabled.
   - The database engine supports file upload 
(`engine_information.supports_file_upload` must be true).
   - You have the correct permissions (Admin or allowed roles).
   
   If these conditions are met and the buttons are still missing, double-check 
that your database is not filtered out due to engine restrictions or missing 
backend support. The frontend only lists databases that pass all these checks 
[see 
implementation](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/features/databases/UploadDataModel/index.tsx).
   
   The feature is not controlled by a single flag anymore, so manual table 
edits or config changes won't override these checks. If you still don't see the 
buttons, review your Superset logs for any warnings or errors related to file 
upload or feature flags.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/d436f54f-0db1-4e25-9702-167238bb2a7f?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/d436f54f-0db1-4e25-9702-167238bb2a7f?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/d436f54f-0db1-4e25-9702-167238bb2a7f?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/d436f54f-0db1-4e25-9702-167238bb2a7f?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/d436f54f-0db1-4e25-9702-167238bb2a7f?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/d436f54f-0db1-4e25-9702-167238bb2a7f?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/d436f54f-0db1-4e25-9702-167238bb2a7f?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35357)


-- 
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]

Reply via email to