YousufFFFF opened a new pull request, #36792:
URL: https://github.com/apache/superset/pull/36792

   <!---
   Please write the PR title following the conventions at 
https://www.conventionalcommits.org/en/v1.0.0/
   Example:
   fix(dashboard): load charts correctly
   -->
   
   ### Summary
   Fixes an error during CSV upload when the frontend sends an empty or 
"undefined" schema value.
   
   ### What changed
   - Treat empty or "undefined" schema as no schema
   - Let the database apply its default schema instead
   - Prevents InvalidSchemaName errors during CSV upload
   
   ###Demo
   
   #Before:
   <img width="1590" height="844" alt="image" 
src="https://github.com/user-attachments/assets/4069baa1-83ac-47cb-8e55-1c904e156391";
 />
   
   #After:
   
   
https://github.com/user-attachments/assets/48d1b6db-3620-43d2-834e-2a864a176186
   
   
   
   ### Reproduction
   1. Upload CSV
   2. Leave schema empty
   3. Upload previously failed, now succeeds


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