[
https://issues.apache.org/jira/browse/METAMODEL-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281474#comment-14281474
]
Kasper Sørensen commented on METAMODEL-78:
------------------------------------------
Thanks for the fix Fabian. I can give it my +1 (see more details on the review
board). Let's give others time to pitch in, and if nothing happens I think we
add it to master in a few days.
> simple SELECT DISTINCT returns duplicates
> -----------------------------------------
>
> Key: METAMODEL-78
> URL: https://issues.apache.org/jira/browse/METAMODEL-78
> Project: Apache MetaModel
> Issue Type: Bug
> Reporter: Ryan Berdeen
>
> Running {{SELECT DISTINCT name FROM table}} on a PojoDataContext returns
> duplicate names. Adding {{ORDER BY name}} fixes it.
> It looks like
> https://github.com/apache/incubator-metamodel/blob/master/core/src/main/java/org/apache/metamodel/QueryPostprocessDataContext.java#L159
> matches, and returns without applying the {{DISTINCT}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)