You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/02/25 03:47:33 UTC

[GitHub] lhyundeadsoul commented on issue #6930: How to configure a datasource Extra parameter?

lhyundeadsoul commented on issue #6930: How to configure a datasource Extra parameter?
URL: https://github.com/apache/incubator-superset/issues/6930#issuecomment-466862250
 
 
   > Please try wrap arguments by "connect_args"
   > 
   > ```
   > "engine_params": {"connect_args": {"pool_size": 10: "max_overflow": 20}}
   > ```
   > reference from
   > https://docs.sqlalchemy.org/en/latest/core/engines.html?highlight=create_engine#sqlalchemy.create_engine
   
   Thanks for help!
   
   But i got a following error 
   >(psycopg2.ProgrammingError) invalid dsn: invalid connection option "pool_size" (Background on this error at: http://sqlalche.me/e/f405)
   
   I have checked the doc out, and i supposed that the "pool_size" and "connect_args" might be in one level ,rather than "pool_size" is underlying the "connect_args"
   
   thank you any way 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org