You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "michael-s-molina (via GitHub)" <gi...@apache.org> on 2023/07/05 16:55:49 UTC
[GitHub] [superset] michael-s-molina commented on a diff in pull request #24564: docs: add notice not to use gevent worker with bigquery datasource
michael-s-molina commented on code in PR #24564:
URL: https://github.com/apache/superset/pull/24564#discussion_r1253385130
##########
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`.
Review Comment:
```suggestion
So, when you use `BigQuery` datasource on Superset, you have to use `gunicorn` worker type except `gevent`.
```
##########
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`.
Review Comment:
```suggestion
So, when you deploy Superset with `gunicorn` server, you have to use worker type except `gevent`.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org