Skip to content

Commit

Permalink
docs: add notice not to use gevent worker with bigquery datasource (a…
Browse files Browse the repository at this point in the history
…pache#24564)

Co-authored-by: Michael S. Molina <[email protected]>
  • Loading branch information
okayhooni and michael-s-molina authored Jul 6, 2023
1 parent 7081a0e commit ce96deb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/databases/bigquery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
3 changes: 3 additions & 0 deletions docs/docs/installation/configuring-superset.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce96deb

Please sign in to comment.