[ https://issues.apache.org/jira/browse/JENA-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398718#comment-16398718 ]
ASF GitHub Bot commented on JENA-1507: -------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/382 > 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 > Priority: Major > Fix For: 3.7.0 > > > 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)