VladimirAlexiev added a comment.
As of today, a slightly modified query https://w.wiki/K36 works ok (I added
"country is Bulgaria")
TASK DETAIL
https://phabricator.wikimedia.org/T229655
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Igorkim78,
Igorkim78 added a comment.
The issue caused by a combination of Service node producing variable
?coDescription, which is not explicitely defined in the main query, so
optimizers assume this variable not bound and do not bother with proper order
of the lang function evaluation. Fixing might
Igorkim78 added a comment.
Looking at query exetution plans, ProjectionOp for the query with lang() for
coDescription got arranged prior to materialization of coDescription, so it
(along with its lang) has not got the way to the projection. The reason for
such behavior needs some more