hive-dev mailing list archives

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

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

Phabricator updated HIVE-4888:
------------------------------

    Attachment: D13101.4.patch

sershe updated the revision "HIVE-4888 [jira] listPartitionsByFilter doesn't support lt/gt/lte/gte".

  small issue

Reviewers: JIRA

REVISION DETAIL
  https://reviews.facebook.net/D13101

CHANGE SINCE LAST DIFF
  https://reviews.facebook.net/D13101?vs=40707&id=40713#toc

AFFECTED FILES
  metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
  metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java
  ql/src/test/queries/clientpositive/filter_numeric.q
  ql/src/test/results/clientpositive/filter_numeric.q.out
  serde/if/serde.thrift
  serde/src/gen/thrift/gen-cpp/serde_constants.cpp
  serde/src/gen/thrift/gen-cpp/serde_constants.h
  serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
  serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
  serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
  serde/src/gen/thrift/gen-rb/serde_constants.rb

To: JIRA, sershe


> 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: D13101.1.patch, D13101.2.patch, D13101.3.patch, D13101.4.patch,
HIVE-4888.00.patch, HIVE-4888.01.patch, 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 was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message