hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11609) Capability to add a filter to hbase scan via composite key doesn't work
Date Mon, 28 Sep 2015 20:35:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933933#comment-14933933
] 

Ashutosh Chauhan commented on HIVE-11609:
-----------------------------------------

Didn't follow you completely, but {{serializedFilterObject}} is not transient and in getRR()
you will have a job conf from where you can retrieve it. So, that should work.

> Capability to add a filter to hbase scan via composite key doesn't work
> -----------------------------------------------------------------------
>
>                 Key: HIVE-11609
>                 URL: https://issues.apache.org/jira/browse/HIVE-11609
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>            Reporter: Swarnim Kulkarni
>            Assignee: Swarnim Kulkarni
>         Attachments: HIVE-11609.1.patch.txt, HIVE-11609.2.patch.txt
>
>
> It seems like the capability to add filter to an hbase scan which was added as part of
HIVE-6411 doesn't work. This is primarily because in the HiveHBaseInputFormat, the filter
is added in the getsplits instead of getrecordreader. This works fine for start and stop keys
but not for filter because a filter is respected only when an actual scan is performed. This
is also related to the initial refactoring that was done as part of HIVE-3420.



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

Mime
View raw message