You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2018/03/09 22:29:58 UTC
[GitHub] timifasubaa opened a new issue #4588: [sqllab] How can we make large Superset queries load faster?
timifasubaa opened a new issue #4588: [sqllab] How can we make large Superset queries load faster?
URL: https://github.com/apache/incubator-superset/issues/4588
I'm looking into the possibility of making large superset queries load faster. And I want members of the community to share ideas here.
Many times, users run a long query for a slice and get stuck waiting for a long time to get tens of thousands of rows they don't intend to see. Before users can see the query the whole query has to run and there usually is a round trip to s3. This takes a really long time.
For inspiration, the Presto/Hive CLI returns almost immediately because it uses something like the `less` bash command to load results immediately there are some rows.
There is a way to know if any data has been loaded in handle_cursor (https://github.com/apache/incubator-superset/blob/31a995714df49e55ff69474378845fd8af605d4b/superset/db_engine_specs.py#L617)
I'm curious how we can load data from the curso
The most basic idea is to make every query 2 queries. One query with a small limit (100?) and a View more button / loading icon so users don't wrongly assume that's all the results, while the actual full query keeps running.
I think we can do better than this starting idea. In particular, we shouldn't need 2 queries. Please share your thoughts.
@fabianmenges @hughhhh @john-bodley @michellethomas @mistercrunch
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services