Page MenuHomePhabricator

Query Helper - Result Preview
Closed, ResolvedPublic

Description

When I change some query parameter with the Query Helper I would like to see a preview of the query result if possible.

The preview should only show 'some' of the results.
It should quickly display results and act resource friendly.
It should also indicate that the displayed data is just a preview.

Event Timeline

It should quickly display results and act resource friendly.

Hmm I'm not sure whether this is really possible in generic case. Surely, in some cases LIMIT and such would work, but if you have complex query or ORDER BY or DISTINCT clauses, even showing 1 result may be time-consuming. It'd be nice to specify which queries we're talking about here.

I am also thinking of a very small timeout here.

Change 369862 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Jonas Kress (WMDE)):
[wikidata/query/gui@master] Show result preview when using Query Helper

https://gerrit.wikimedia.org/r/369862

Change 369862 merged by jenkins-bot:
[wikidata/query/gui@master] Show result preview when using Query Helper

https://gerrit.wikimedia.org/r/369862