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

   ### Bug description
   
   - setup a user in clickhouse and give it a default database (other than 
"default")
   - in superset, setup a clickhouse database connection using that user, do 
not specify a database
   - setup a dataset using the connection, leave schema blank
   - try to use the dataset and get this error:
   ```
   Received ClickHouse exception, code: 81, server response: Code: 81. 
DB::Exception: Database public does not exist. (UNKNOWN_DATABASE) (version 
25.8.11.66 (official build)) (for url http://our.clickhouse.server:8123/)
   ```
   
   This was working correctly (connecting to the user's default database) on 
Superset v3.1.3, we're seeing this behavior since upgrading to v6.0.0rc3, we 
also tested on v6.0.0rc4
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.10
   
   ### Node version
   
   Not applicable
   
   ### Browser
   
   Not applicable
   
   ### 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