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

Jesus Camacho Rodriguez commented on HIVE-13831:
------------------------------------------------

{noformat}
Test Name       Duration        Age
 org.apache.hadoop.hive.ql.lockmgr.TestDbTxnManager.testLockTimeout     3 min 9 
sec     1
 
org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskSchedulerService.testDelayedLocalityNodeCommErrorImmediateAllocation
        10 sec  1
 org.apache.hive.hcatalog.listener.TestDbNotificationListener.cleanupNotifs     
1 min 6 sec     2
 
org.apache.hadoop.hive.llap.daemon.impl.comparator.TestShortestJobFirstComparator.testWaitQueueComparatorWithinDagPriority
     5.4 sec 24
 
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_constprog_partitioner
    3.8 sec 28
 
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_static
 1 min 52 sec    44
 
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_dynamic
        1 min 23 sec    44
 
org.apache.hive.minikdc.TestHiveAuthFactory.testStartTokenManagerForMemoryTokenStore
   1.7 sec 44
 
org.apache.hive.minikdc.TestHiveAuthFactory.testStartTokenManagerForDBTokenStore
       0.36 sec        44
 org.apache.hive.minikdc.TestMiniHiveKdc.testLogin      2 min 7 sec     44
 org.apache.hadoop.hive.llap.tez.TestConverters.testFragmentSpecToTaskSpec      
66 ms   64
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_selectindate    11 sec  
96
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_avrocountemptytbl       
12 sec  96
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_order_null      34 sec  
96
 
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_join_with_different_encryption_keys
     1 min 47 sec    96
 
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3
    7.6 sec 96
 
org.apache.hadoop.hive.cli.TestMinimrCliDriver.org.apache.hadoop.hive.cli.TestMinimrCliDriver
  1 min 7 sec     96
{noformat}

> Error pushing predicates to HBase storage handler
> -------------------------------------------------
>
>                 Key: HIVE-13831
>                 URL: https://issues.apache.org/jira/browse/HIVE-13831
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-13831.01.patch, HIVE-13831.02.patch, 
> HIVE-13831.patch
>
>
> Discovered while working on HIVE-13693.
> There is an error on the predicates that we can push to HBaseStorageHandler. 
> In particular, range predicates of the shape {{(bounded, open)}} and {{(open, 
> bounded)}} over long or int columns get pushed and return wrong results.
> The problem has to do with the storage order for keys in HBase. Keys are 
> sorted lexicographically. Since the byte representation of negative values 
> comes after the positive values, open range predicates need special handling 
> that we do not have right now.
> Thus, for instance, when we push the predicate {{key > 2}}, we return all 
> records with column _key_ greater than 2, plus the records with negative 
> values for the column _key_. This problem does not get exposed if a filter is 
> kept in the Hive operator tree, but we should not assume the latest.
> This fix avoids pushing this kind of predicates to the storage handler, 
> returning them in the _residual_ part of the predicate that cannot be pushed. 
> In the future, special handling might be added to support this kind of 
> predicates.



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

Reply via email to