You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2015/11/13 16:46:11 UTC

[jira] [Updated] (HIVE-12407) Check fetch property to determine if a SortLimit contains a limit operation

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

Jesus Camacho Rodriguez updated HIVE-12407:
-------------------------------------------
    Attachment: HIVE-12407.patch

> Check fetch property to determine if a SortLimit contains a limit operation
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-12407
>                 URL: https://issues.apache.org/jira/browse/HIVE-12407
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 2.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-12407.patch
>
>
> Now that Calcite 1.5 went in, sometimes we end up with Sort and Limit operations in the same operator. limitRelNode in HiveCalciteUtil should check the fetch property of the SortLimit operator to determine if an operator is a Limit.



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