[
https://issues.apache.org/jira/browse/JENA-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne updated JENA-211:
-------------------------------
Attachment: jena-211-distinct.patch
Stephen,
The bug is not to do with the distinct code per-se. It's the binding it is
asked to process - it should have unnamed variables hidden.
I changed QueryIterDistinct to use the common QueryIterDistinctReduced
mechanism so the mechanism can be shared by "reduced" and "distinct".
Patch attached for reference - I have applied it because it blocking other work.
Andy
> DISTINCT isn't distinct in the presence of anon variables.
> ----------------------------------------------------------
>
> Key: JENA-211
> URL: https://issues.apache.org/jira/browse/JENA-211
> Project: Jena
> Issue Type: Bug
> Components: ARQ
> Affects Versions: ARQ 2.9.0
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Attachments: jena-211-distinct.patch
>
>
> The DISTINCT (and REDUCED) iterators don't mask hidden variables (bnodes and
> rewrite-introducded hdden variables)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira