How to configure a datasource Extra parameter?
See original GitHub issueMake 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.
Superset version
0.999.0dev more ./superset/assets/package.json``installed by docker
Expected results
press save button, engine param can be configered correctly
Actual results
Invalid argument(s) ‘pool_size’,‘max_overflow’ sent to create_engine(), using configuration PGDialect_psycopg2/NullPool/Engine. Please check that the keyword arguments are appropriate for this combination of components.
Steps to reproduce
- go to Edit Database Page
- config Extra section
- save button
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to configure a datasource Extra parameter? #6930 - GitHub
Please check that the keyword arguments are appropriate for this combination ... go to Edit Database Page; config Extra section; save button.
Read more >Pass additional parameters to Read ajax datasource method
Hi, I want to pass an additional parameter to my Read ajax method from Grid along with currently passing the controller name and...
Read more >Datasource Configuration Parameters - WSO2 Documentation
You can configure the datasource connection pool parameters, such as how long a connection is persisted in the pool, using the datasource ......
Read more >Persist additional dataSource.read parameters on paganation ...
To persist the updated value of the additional parameter through pagination, you will need to create a global variable and save the value...
Read more >Adding configuration parameters to SQL data sources - IBM
Click the Data Source Configuration Parameters tab to define configuration parameters. Define a configuration parameter. Click Add or New. Define the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for help!
But i got a following error
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 @zhaoyongjie
Please try wrap arguments by “connect_args”
reference from https://docs.sqlalchemy.org/en/latest/core/engines.html?highlight=create_engine#sqlalchemy.create_engine