YousufFFFF commented on code in PR #36792:
URL: https://github.com/apache/superset/pull/36792#discussion_r2723895903
##########
superset/commands/database/uploaders/base.py:
##########
@@ -159,6 +159,13 @@ def run(self) -> None:
if not self._model:
return
+ # Treat empty or frontend-sent "undefined" schema as no schema
+ if not self._schema or self._schema == "undefined":
+ logger.warning(
+ "CSV UPLOAD: schema was empty or undefined, using database
default"
Review Comment:
Good catch , I have updated the log message to be file-type agnostic since
this path is shared by CSV, Excel, and columnar uploads.
--
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]