[
https://issues.apache.org/jira/browse/CALCITE-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966061#comment-14966061
]
Maryann Xue commented on CALCITE-889:
-------------------------------------
bq. If is valid to apply the rule if Sort.fetch is null, but pointless, given
that union does not in general propagate sort order. Therefore I would apply
the rule only if Sort.fetch is not null.
[~julianhyde], given that there could a physical Union operator that does merge
for its inputs (I already have one for Phoenix now), think it would still make
sense to apply this rule if sort.fetch == null, right?
> Implement SortUnionTransposeRule
> --------------------------------
>
> Key: CALCITE-889
> URL: https://issues.apache.org/jira/browse/CALCITE-889
> Project: Calcite
> Issue Type: Sub-task
> Reporter: Pengcheng Xiong
> Assignee: Julian Hyde
> Fix For: 1.5.0-incubating
>
> Attachments: CALCITE-889.01.patch, CALCITE-889.02.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)