Page MenuHomePhabricator

WDQS UI reports absurd query runtime if auxiliary queries are run concurrently with the main query
Open, Needs TriagePublic

Description

If you run the main query, and then also get suggestions for a query template while the main query is still running (which involves another query behind the scenes), then the query runtime of the main query will be reported as the current UNIX time (in ms), an absurdly high value. I suppose we should disable runtime tracking for all auxiliary queries?

Example query:

#TEMPLATE={ "template": { "en": "streets in ?city with gender of the person they’re named after", "de": "Straßen in ?city mit Geschlecht der Person, nach der sie benannt sind" }, "variables": { "?city": { "query": "SELECT DISTINCT ?id WHERE { ?id wdt:P31/wdt:P279* wd:Q1549591; wdt:P1082 ?population. } ORDER BY DESC(?population) LIMIT 100" } } }
#defaultView:Map{"layer":"?genderLabel"}
SELECT DISTINCT ?street ?streetLabel ?coordinates ?genderLabel WHERE {
  hint:Query hint:optimizer "None".
  BIND(wd:Q64 AS ?city)
  ?street wdt:P131+ ?city;
          wdt:P31/wdt:P279* wd:Q83620.
  OPTIONAL { ?street wdt:P625 ?coordinates. }
  OPTIONAL { ?street wdt:P138/wdt:P21 ?gender. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en". }
}

Event Timeline

Vvjjkkii renamed this task from WDQS UI reports absurd query runtime if auxiliary queries are run concurrently with the main query to amdaaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from amdaaaaaaa to WDQS UI reports absurd query runtime if auxiliary queries are run concurrently with the main query.Jul 2 2018, 4:29 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.