You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2013/08/28 03:34:52 UTC

[jira] [Updated] (HIVE-4888) listPartitionsByFilter doesn't support lt/gt/lte/gte

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

Sergey Shelukhin updated HIVE-4888:
-----------------------------------

    Attachment: HIVE-4888.on-top-of-4914.patch

preliminary, very simple patch on top of HIVE-4914. The pushdown is added to SQL path only. JDO path will need datanucleus plugin (or version) that supports string to number conversion, to work properly with number compares. I have no machines left to run tests, when I do I will run tests and submit the patch for Hive QA
                
> listPartitionsByFilter doesn't support lt/gt/lte/gte
> ----------------------------------------------------
>
>                 Key: HIVE-4888
>                 URL: https://issues.apache.org/jira/browse/HIVE-4888
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-4888.on-top-of-4914.patch
>
>
> Filter pushdown could be improved. Based on my experiments there's no reasonable way to do it with DN 2.0, due to DN bug in substring and Collection.get(int) not being implemented.
> With version as low as 2.1 we can use values.get on partition to extract values to compare to. Type compatibility is an issue, but is easy for strings and integral values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira