GitHub user afs opened a pull request: https://github.com/apache/jena/pull/382
JENA-1507: Fixes for aggregates when no WHERE match. This includes the two commits of PR #381. Commit 8a64ffee are the actual functional changes for JENA-1507. You can merge this pull request into a Git repository by running: $ git pull https://github.com/afs/jena jena-1507_aggregates Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jena/pull/382.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #382 ---- commit eb3b9beda79d35347daea1925752306b4ef5911f Author: Andy Seaborne <andy@...> Date: 2018-03-13T13:59:35Z Remove test printing. Remove info warnings. commit 459a2b88f5e9544e5ddcc9979914eb0dca14b0d7 Author: Andy Seaborne <andy@...> Date: 2018-03-13T14:00:06Z Reformat commit 8a64ffeef483df37bcbd313ada28104a945d2027 Author: Andy Seaborne <andy@...> Date: 2018-03-13T15:21:29Z JENA-1507: No rows when no match if GROUP BY used ---- ---