hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saket Saurabh <>
Subject Re: Review Request 49766: HIVE-14035 Enable predicate pushdown to delta files created by ACID Transactions
Date Thu, 07 Jul 2016 17:26:49 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated July 7, 2016, 10:26 a.m.)

Review request for hive and Eugene Koifman.

Repository: hive-git


In current Hive version, delta files created by ACID transactions do not allow predicate pushdown
if they contain any update/delete events. This is done to preserve correctness when following
a multi-version approach during event collapsing, where an update event overwrites an existing
insert event. 
This JIRA proposes to split an update event into a combination of a delete event followed
by a new insert event, that can enable predicate push down to all delta files without breaking
correctness. To support backward compatibility for this feature, this JIRA also proposes to
add some sort of versioning to ACID that can allow different versions of ACID transactions
to co-exist together.


  common/src/java/org/apache/hadoop/hive/conf/ b13fc65 
  metastore/if/hive_metastore.thrift 4d92b73 
  metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h ae14bd1 
  metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp f982bf2 
  metastore/src/gen/thrift/gen-php/metastore/Types.php f505208 
  metastore/src/gen/thrift/gen-py/hive_metastore/ d1c07a5 
  metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb eeccc84 
  orc/src/java/org/apache/orc/impl/ c4a2093 
  ql/src/java/org/apache/hadoop/hive/ql/exec/ dff1815 
  ql/src/java/org/apache/hadoop/hive/ql/exec/ 57b6c67 
  ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ 23a13d6 
  ql/src/java/org/apache/hadoop/hive/ql/io/ 36f38f6 
  ql/src/java/org/apache/hadoop/hive/ql/io/ 227a051 
  ql/src/java/org/apache/hadoop/hive/ql/io/orc/ 69d58d6 
  ql/src/java/org/apache/hadoop/hive/ql/io/orc/ b0f8c8b 
  ql/src/java/org/apache/hadoop/hive/ql/io/orc/ e577961 
  ql/src/java/org/apache/hadoop/hive/ql/metadata/ 82abd52 
  ql/src/java/org/apache/hadoop/hive/ql/plan/ 8cf261d 
  ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/ 6caca98 
  ql/src/test/org/apache/hadoop/hive/ql/ e76c925 
  ql/src/test/org/apache/hadoop/hive/ql/io/ 5745dee 


Testing (updated)

Tests for the feature are in ql/src/test/org/apache/hadoop/hive/ql/
These are mostly integration tests that test end-to-end insert/update/delete scenarios followed
by compaction and cleaning.


Saket Saurabh

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message