Andy Seaborne created JENA-1507:
-----------------------------------

             Summary: GROUP BY and aggregates when there are no matching of the 
WHERE pattern.
                 Key: JENA-1507
                 URL: https://issues.apache.org/jira/browse/JENA-1507
             Project: Apache Jena
          Issue Type: Bug
          Components: ARQ
    Affects Versions: Jena 3.6.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne


There are two bugs in ARQs handling of grouping when there are no results in 
the WHERE clause.

When there is a GROUP BY, the outcome should be no rows. 
 * JENA-1487
 * [users list 
discussion|https://lists.apache.org/thread.html/72c2045e639c589880619443beafec5be963733e0f9f0887e134d467@%3Cusers.jena.apache.org%3E]

When there is no GROUP BY, no aggregates, and no pattern match, the result 
should be one row of no columns; when there is no GROUP BY, the result is 
always one row.  It returns zero rows (v3.6.0 and before).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to