asemprini commented on issue #20863:
URL: https://github.com/apache/superset/issues/20863#issuecomment-1233363169

   Just in case someone else finds this thread looking why snowflake connector 
is not working when installing with docker. I was getting this error:
   
   `superset_app            | 
superset.databases.commands.exceptions.DatabaseTestConnectionFailedError: 
[SupersetError(message='(builtins.NoneType) None\n(Background on this error at: 
https://sqlalche.me/e/14/dbapi)', 
error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 
'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, 
extra={'engine_name': 'Snowflake', 'issue_codes': [{'code': 1002, 'message': 
'Issue 1002 - The database returned an unexpected error.'}]})]`
   
   The problem was I was trying to use the following connection string: 
https://superset.apache.org/docs/databases/snowflake/
   
   In the end, using the above libraries mentioned by @wiktor2200, I was able 
to make it work but selecting the snowflake data source and not using the above 
connection string. 
   Also, another comment:
   
![image](https://user-images.githubusercontent.com/106770160/187770577-070f651d-4dda-42c6-9c91-8730767516cd.png)
   The DATABASE NAME, is not e.g. xy12345.us-east-2.aws, it is the ACTUAL 
database name like "my_db". And the ACCOUNT below is where you put 
xy12345.us-east-2.
   
   Just in case this might help someone else with a similar issue.


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