[ https://issues.apache.org/jira/browse/GEODE-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022010#comment-16022010 ]
ASF subversion and git services commented on GEODE-2961: -------------------------------------------------------- Commit 456ee15768fb08c8e1c8c5836479d27e1bc61835 in geode's branch refs/heads/feature/GEODE-2632-17 from [~DivineEnder] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=456ee15 ] GEODE-2961: Fixed distinct multiple OR query returning partial results > Distinct query with an or condition may miss results > ---------------------------------------------------- > > Key: GEODE-2961 > URL: https://issues.apache.org/jira/browse/GEODE-2961 > Project: Geode > Issue Type: Bug > Components: querying > Reporter: Jason Huynh > Assignee: David Anuta > > Sample query where this may be an issue: > "select id from /region where r.status in set('active') or r.name in > set('joe')" > The results will contain only one of the predicates. > The issue might be: > {noformat} > } else if (isDistinct && !isConditioningNeeded) { > intermediateResults = filterResults; > {noformat} > but it should probably read as: > {noformat} > } else if (isDistinct && !isConditioningNeeded) { > intermediateResults.addAll(filterResults); > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)