This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new ce96deb331 docs: add notice not to use gevent worker with bigquery
datasource (#24564)
ce96deb331 is described below
commit ce96deb33194dc17dd3cadb54666af2e598e7da1
Author: Changhoon Oh <[email protected]>
AuthorDate: Thu Jul 6 20:48:04 2023 +0900
docs: add notice not to use gevent worker with bigquery datasource (#24564)
Co-authored-by: Michael S. Molina
<[email protected]>
---
docs/docs/databases/bigquery.mdx | 3 +++
docs/docs/installation/configuring-superset.mdx | 3 +++
2 files changed, 6 insertions(+)
diff --git a/docs/docs/databases/bigquery.mdx b/docs/docs/databases/bigquery.mdx
index 7ea993ae5d..e42aa46bfb 100644
--- a/docs/docs/databases/bigquery.mdx
+++ b/docs/docs/databases/bigquery.mdx
@@ -87,3 +87,6 @@ You should then be able to connect to your BigQuery datasets.
To be able to upload CSV or Excel files to BigQuery in Superset, you'll need
to also add the
[pandas_gbq](https://github.com/pydata/pandas-gbq) library.
+
+Currently, Google BigQuery python sdk is not compatible with `gevent`, due to
some dynamic monkeypatching on python core library by `gevent`.
+So, when you deploy Superset with `gunicorn` server, you have to use worker
type except `gevent`.
diff --git a/docs/docs/installation/configuring-superset.mdx
b/docs/docs/installation/configuring-superset.mdx
index 66022521bf..bfa1b91291 100644
--- a/docs/docs/installation/configuring-superset.mdx
+++ b/docs/docs/installation/configuring-superset.mdx
@@ -146,6 +146,9 @@ for production use._
If you're not using Gunicorn, you may want to disable the use of
`flask-compress` by setting
`COMPRESS_REGISTER = False` in your `superset_config.py`.
+Currently, Google BigQuery python sdk is not compatible with `gevent`, due to
some dynamic monkeypatching on python core library by `gevent`.
+So, when you use `BigQuery` datasource on Superset, you have to use `gunicorn`
worker type except `gevent`.
+
### Configuration Behind a Load Balancer
If you are running superset behind a load balancer or reverse proxy (e.g.
NGINX or ELB on AWS), you