You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2021/02/03 09:54:00 UTC

[jira] [Updated] (CALCITE-3221) Add MergeUnion operator in Enumerable convention

     [ https://issues.apache.org/jira/browse/CALCITE-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruben Q L updated CALCITE-3221:
-------------------------------
    Fix Version/s: 1.27.0

> Add MergeUnion operator in Enumerable convention
> ------------------------------------------------
>
>                 Key: CALCITE-3221
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3221
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.19.0
>            Reporter: Stamatis Zampetakis
>            Assignee: Ruben Q L
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.27.0
>
>         Attachments: screenshot-1.png
>
>          Time Spent: 12h 40m
>  Remaining Estimate: 0h
>
> Currently, the union operation offered by CalciteĀ (seeĀ [EnumerableDefaults.union|https://github.com/apache/calcite/blob/d98856bf1a5f5c151d004b769e14bdd368a67234/linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java#L2747]) "breaks" the collation (if any) of its inputs.
> The goal of this issue is to create a new union algorithm in Enumerable convention (EnumerableMergeUnion) that, given the fact that its inputs are sorted by the same collation, will return the union / union all result respecting this collation.
> Most likely the implementation of the merge join can be useful.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)