Abdulrehman-PIAIC80387 commented on PR #40494:
URL: https://github.com/apache/superset/pull/40494#issuecomment-4562922138

   @codeant-ai-for-open-source addressed both flags in 9ab07e3aff:
   
   1. **Catalog mismatch (Critical)** — `get_table_by_schema_and_name` now 
takes `catalog` and the lookup uses the full `(database_id, catalog, schema, 
table_name)` uniqueness key. The API derives `catalog` from the request, 
falling back to `database.get_default_catalog()` to match the semantics in 
`DatasetDAO.validate_uniqueness`.
   
   2. **Empty-string schema (Major)** — request body's `schema` is now 
normalised with `body.get("schema") or None` so empty-string and missing schema 
resolve consistently against datasets stored with `NULL` schema.


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