-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/67710/
-----------------------------------------------------------

Review request for hive, Jason Dere and Sergey Shelukhin.


Bugs: HIVE-19481
    https://issues.apache.org/jira/browse/HIVE-19481


Repository: hive-git


Description
-------

sample10.q returns wrong results.
Multiple issues were fixed
1. Instead of using old MR logic which assumes there is 1 file for each bucket, 
lookup buckets by name(non-managed tables)
2. Skip bucket pruning for managed tables.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java 9dbd869d57 
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/SamplePruner.java 8200e6a237 
  ql/src/test/queries/clientpositive/sample10_mm.q PRE-CREATION 
  ql/src/test/results/clientpositive/llap/sample10.q.out 1b95314980 
  ql/src/test/results/clientpositive/llap/sample10_mm.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/spark/sample10.q.out ac28779591 


Diff: https://reviews.apache.org/r/67710/diff/1/


Testing
-------


Thanks,

Deepak Jaiswal

Reply via email to