You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/27 20:35:00 UTC
[jira] [Commented] (JENA-1774) Optimize DISTINCT-ORDERBY
[ https://issues.apache.org/jira/browse/JENA-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960675#comment-16960675 ]
ASF subversion and git services commented on JENA-1774:
-------------------------------------------------------
Commit 454de48f62616017af2e03e0a2d3651ed30f89e2 in jena's branch refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=454de48 ]
Merge pull request #622 from afs/jena-1774_distinct-orderby
JENA-1774: Reorder SELECT DISTINCT * ORDER BY
> Optimize DISTINCT-ORDERBY
> -------------------------
>
> Key: JENA-1774
> URL: https://issues.apache.org/jira/browse/JENA-1774
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Affects Versions: Jena 3.13.1
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Major
> Fix For: Jena 3.14.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> {{TransformOrderByDistinctApplication}} is missing the chance to rewrite the form:
> {noformat}
> SELECT DISTINCT * { ...} ORDER BY ...
> {noformat}
> which is
> {noformat}
> (distinct
> (order ...
> {noformat}
> and could be
> {noformat}
> (order ...
> (distinct
> {noformat}
> {{TransformOrderByDistinctApplication}} does already rewrite when there is a projection.
> {noformat}
> SELECT DISTINCT ?x { ...} ORDER BY ?x
> {noformat}
> {noformat}
> (order (?x)
> (distinct
> (project (?x)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)