bkyryliuk commented on issue #10530:
URL: 
https://github.com/apache/incubator-superset/issues/10530#issuecomment-689689258


   It seems that celery is not happy to deal with the sqlalchemy pool & that's 
related to the process forking. The recommendation I found was to have 1 
session per worker to avoid issues like this. Here is some read:
   * 
https://stackoverflow.com/questions/14526249/celery-worker-database-connection-pooling
 
   *  
https://stackoverflow.com/questions/44598266/sqlalchemy-exc-nosuchcolumnerror-when-im-querying-in-parent-process
   *  http://www.prschmid.com/2013/04/using-sqlalchemy-with-celery-tasks.html 
   
   cc @willbarrett @villebro 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to