saurabhperiwal opened a new issue #9083: Error while Connecting to Snowflakes
URL: https://github.com/apache/incubator-superset/issues/9083
 
 
   A clear and concise description of what the bug is.
   I'm trying to connect to snowflakes. After entering SQLAlchemy URI, I get  
error
   
   ### Expected results
   
   Test connection should be successful
   
   ### Actual results
   
   It throws an error
   `ERROR: {"error": "Connection failed!\n\nThe error message returned 
was:\nCan't load plugin: sqlalchemy.dialects:snowflake", "stacktrace": 
"Traceback (most recent call last):\n  File \"/app/superset/views/core.py\", 
line 1358, in testconn\n    engine = 
database.get_sqla_engine(user_name=username)\n  File 
\"/app/superset/utils/core.py\", line 131, in __call__\n    value = 
self.func(*args, **kwargs)\n  File \"/app/superset/models/core.py\", line 318, 
in get_sqla_engine\n    return create_engine(sqlalchemy_url, **params)\n  File 
\"/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/__init__.py\", line 
479, in create_engine\n    return strategy.create(*args, **kwargs)\n  File 
\"/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py\", 
line 61, in create\n    entrypoint = u._get_entrypoint()\n  File 
\"/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/url.py\", line 172, 
in _get_entrypoint\n    cls = registry.load(name)\n  File 
\"/usr/local/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py\", line 
240, in load\n    \"Can't load plugin: %s:%s\" % (self.group, 
name)\nsqlalchemy.exc.NoSuchModuleError: Can't load plugin: 
sqlalchemy.dialects:snowflake\n"}
   `
   #### How to reproduce the bug
   
   1. Use docker image to run superset
   2. Login -> Sources -> Databases -> Add Database enter URI in SQLAlchemy URI 
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `0.999dev`
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version 
of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to