You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/01/14 00:43:34 UTC

[jira] [Commented] (PHOENIX-671) Support UNION

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

James Taylor commented on PHOENIX-671:
--------------------------------------

FWIW, filtering out duplicates would not be too difficult since the results from each separate query would be already sorted on row key. You'd just need to create a new iterator, DedupResultIterator, similar to BaseGroupedAggregatingResultIterator, which does a merge sort between the tuples from each iterator for each separate query, filtering out rows that are the same. This DedupResultIterator would replace the ConcatIterator mentioned above.

> Support UNION
> -------------
>
>                 Key: PHOENIX-671
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-671
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: James Taylor
>            Assignee: Alicia Ying Shu
>
> This is particularly useful for Pentaho support.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)