[Wikidata-bugs] [Maniphest] [Commented On] T172113: ConcurrentModificationException on non-grouping query with aggregates in SELECT

2019-08-29 Thread gerritbot
gerritbot added a comment. Change 533108 **merged** by Smalyshev: [wikidata/query/blazegraph@master] Fix Concurrent modification on non-grouping query with aggregates https://gerrit.wikimedia.org/r/533108 TASK DETAIL https://phabricator.wikimedia.org/T172113 EMAIL PREFERENCES http

[Wikidata-bugs] [Maniphest] [Commented On] T172113: ConcurrentModificationException on non-grouping query with aggregates in SELECT

2019-08-28 Thread gerritbot
gerritbot added a comment. Change 533108 had a related patch set uploaded (by Igor Kim; owner: Igor Kim): [wikidata/query/blazegraph@master] Fix Concurrent modification on non-grouping query with aggregates https://gerrit.wikimedia.org/r/533108 TASK DETAIL https://phabricator.wikimed

[Wikidata-bugs] [Maniphest] [Commented On] T172113: ConcurrentModificationException on non-grouping query with aggregates in SELECT

2017-09-12 Thread WikidataFacts
WikidataFacts added a comment. Note that this can also occur on grouping queries: SELECT ?x (COUNT(*) AS ?total) (SUM(?y) AS ?ys) (?ys/?total AS ?ratio) WHERE { ?x wdt:P31 wd:Q1. BIND(1 AS ?y) } GROUP BY ?x And an alternative workaround is to inline the variables into the SELECT, i. e. (SUM(?

[Wikidata-bugs] [Maniphest] [Commented On] T172113: ConcurrentModificationException on non-grouping query with aggregates in SELECT

2017-08-19 Thread Esc3300
Esc3300 added a comment. If it's the same as on this, I think it broke on February 22.TASK DETAILhttps://phabricator.wikimedia.org/T172113EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Esc3300Cc: Esc3300, Aklapper, Smalyshev, Lucas_Werkmeister_WMDE, PokestarF

[Wikidata-bugs] [Maniphest] [Commented On] T172113: ConcurrentModificationException on non-grouping query with aggregates in SELECT

2017-08-07 Thread Smalyshev
Smalyshev added a comment. Workaround: SELECT ?total ?mandatory (?mandatory/?total AS ?ratio) WHERE { { SELECT (COUNT(*) AS ?total) (COUNT(?status) AS ?mandatory) WHERE { ?property p:P2302 ?statement. OPTIONAL { ?statement pq:P2316 ?status. } } } }TASK DETAILhttps://phabricator.wikimedia.org/