hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4888) listPartitionsByFilter doesn't support lt/gt/lte/gte
Date Wed, 28 Aug 2013 01:34:52 GMT

     [ 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

Mime
View raw message