scriptbotprime opened a new issue, #32429:
URL: https://github.com/apache/superset/issues/32429

   ### Bug description
   
   In Superset 4.1.1 I have a problems when updating the query of a dataset 
which is connected to Trino DB.
   After the update the connected chart gives me this error message: 
   `Error: error 400: b'Error 400 Bad Request: Schema is set but catalog is 
not'`
   
   When going back to the editing window I can see that the catalog and schema 
is missing:
   
![Image](https://github.com/user-attachments/assets/e727626e-8e01-4bf1-955d-2d09373a2a1c)
   
   My workaround is to update the catalog in the superset database:
   ```SQL
   UPDATE tables SET catalog = 'clickhouse' WHERE table_name = 'test_template';
   ```
   This fixes the schema as well. Maybe because it is the only schema in this 
catalog.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.1.1
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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