tooptoop4 opened a new issue #10139:
URL: https://github.com/apache/incubator-superset/issues/10139


   "SELECT 1" - the simplest of presto queries takes over 3 seconds (3.18-3.4 
seconds for me) when run from superset but only 0.4 seconds when run using 
presto JDBC.
   
   1.
   Sleep 1 second at this line is too long:
   
https://github.com/apache/incubator-superset/blob/0.36.0/superset/db_engine_specs/presto.py#L760
   
   2.
   see https://github.com/dropbox/PyHive/issues/337 for another culprit line
   
   I changed to 0.1 for both cases and now I can get 0.86 seconds from superset!
   
   


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