[ 
https://issues.apache.org/jira/browse/JENA-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820002#comment-13820002
 ] 

Rob Vesse commented on JENA-587:
--------------------------------

The specific cause of the {{DISTINCT}} not being equivalent to the {{REDUCED}} 
in your case is that the use of {{ORDER BY}} changes the ordering of rows so 
the non-distinct rows are not adjacent meaning that {{REDUCED}} does not 
eliminate them.  Removing the {{ORDER BY}} does result in duplicates being 
eliminated.

> SELECT DISTINCT returns duplicate results
> -----------------------------------------
>
>                 Key: JENA-587
>                 URL: https://issues.apache.org/jira/browse/JENA-587
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: Jena 2.11.0
>            Reporter: Veyriere
>         Attachments: bug Jena2.11.0.zip
>
>
> SELECT DISTINCT returns duplicate results. Attaching a small quads dump and 
> the query to reproduce with TDB
> Reproduced with Jena 2.11.0 and Jena 2.10.1 (was working with 2.7.4)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to