You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For both the Dremio and Dremio+Flight dialects, the SingletonThreadPool connection pool implementation is used by default.
While this configuration can be easily overridden, it would possibly be safer to use a different connection pool implementation as this one is not recommended for production use and can cause some inconvenient behaviors in a production setup (e.g., connection randomly closed in the middle of a query execution).
See https://docs.sqlalchemy.org/en/14/core/pooling.html#sqlalchemy.pool.SingletonThreadPool for further detail.
Hello,
For both the
Dremio
andDremio+Flight
dialects, theSingletonThreadPool
connection pool implementation is used by default.While this configuration can be easily overridden, it would possibly be safer to use a different connection pool implementation as this one is not recommended for production use and can cause some inconvenient behaviors in a production setup (e.g., connection randomly closed in the middle of a query execution).
See https://docs.sqlalchemy.org/en/14/core/pooling.html#sqlalchemy.pool.SingletonThreadPool for further detail.
sqlalchemy_dremio/sqlalchemy_dremio/base.py
Lines 142 to 148 in b87c878
sqlalchemy_dremio/sqlalchemy_dremio/flight.py
Lines 146 to 153 in b87c878
Thanks again and keep up with the good work 🙂
The text was updated successfully, but these errors were encountered: