You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2014/12/16 06:18:15 UTC

[jira] [Updated] (HIVE-5744) Implement support for BETWEEN in SELECT list

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

Navis updated HIVE-5744:
------------------------
    Attachment: HIVE-5744.2.patch.txt

Rebased to trunk

> Implement support for BETWEEN in SELECT list
> --------------------------------------------
>
>                 Key: HIVE-5744
>                 URL: https://issues.apache.org/jira/browse/HIVE-5744
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Eric Hanson
>            Assignee: Navis
>         Attachments: HIVE-5744.1.patch.txt, HIVE-5744.2.patch.txt
>
>
> Queries like 
> SELECT col1 BETWEEN 0 and 10 from T;
> fail in vectorized mode. Support needs to be implemented for a BETWEEN expression in the SELECT list, comparable to how it was added for comparison operators (<, >, ...). These were done by adding new, templates that return a value for a comparison instead of applying a filter. See ColumnCompareScalar.txt under ql/src/gen for an example.



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