raphaelauv commented on issue #12881:
URL: https://github.com/apache/superset/issues/12881#issuecomment-772006646


   Alright ! thank @nytai 
   
   by adding sqlalchemy-clickhouse inside 
superset/.docker/requirements-local.txt
   
   but I still have error connecting to clickhouse, even when I add it to the 
docker-compose.yaml of the repo 
   
   ```
     clickhouse_db:
       image: yandex/clickhouse-server:20.8
       environment:
         CLICKHOUSE_DB: my_database
         CLICKHOUSE_USER: username
         CLICKHOUSE_PASSWORD: password
       ports:
         - 9001:9000
   
   ```
   
   clickhouse://username:password@clickhouse_db:9000/my_database
   
   ```
   DEBUG:superset.models.core:Database.get_sqla_engine(). Masked URL: 
clickhouse://username:XXXXXXXXXX@clickhouse_db:9000/my_databaseDEBUG:urllib3.connectionpool:Starting
 new HTTP connection (1): 
clickhouse_db:9000DEBUG:superset.stats_logger:[stats_logger] (incr) 
DatabaseRestApi.test_connection.errorDEBUG:superset.stats_logger:[stats_logger] 
(timing) DatabaseRestApi.test_connection.time | 11.717678004060872 172.19.0.1 - 
- [02/Feb/2021 21:33:04] "POST /api/v1/database/test_connection HTTP/1.1" 422 
-INFO:werkzeug:172.19.0.1 - - [02/Feb/2021 21:33:04] "POST 
/api/v1/database/test_connection HTTP/1.1" 422 -
   ```
   
   Any idee ? thank again


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

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