phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-671) Support UNION
Date Tue, 13 Jan 2015 23:43:34 GMT

    [ 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)

Mime
View raw message