Skip to content

Commit

Permalink
Fix issue RDFLib#936
Browse files Browse the repository at this point in the history
Modified the algebra.py file under sparql folder
  • Loading branch information
devrb committed May 29, 2020
1 parent 037ea51 commit bab4ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/plugins/sparql/algebra.py
Expand Up @@ -498,7 +498,7 @@ def translateAggregates(q, M):
v.expr = traverse(v.expr, functools.partial(_aggs, A=A))

# having clause
if traverse(q.having, _hasAggregate, complete=False):
if traverse(q.having, _hasAggregate, complete=True):
q.having = traverse(q.having, _sample)
traverse(q.having, functools.partial(_aggs, A=A))

Expand Down

0 comments on commit bab4ee9

Please sign in to comment.