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

Review request for hive, John Sichi and Ning Zhang.


Summary
-------

Save the original HiveOperation/commandType when we generate the index builder 
task and restore it after we're done generating the task so that the 
authorization checks make the right decision when deciding what to do.


This addresses bug HIVE-2286.
    https://issues.apache.org/jira/browse/HIVE-2286


Diffs
-----

  ql/src/test/results/clientpositive/index_auth.q.out PRE-CREATION 
  ql/src/java/org/apache/hadoop/hive/ql/index/bitmap/BitmapIndexHandler.java 
61bbbf5 
  ql/src/java/org/apache/hadoop/hive/ql/index/compact/CompactIndexHandler.java 
7c91946 
  ql/src/test/queries/clientpositive/index_auth.q PRE-CREATION 

Diff: https://reviews.apache.org/r/1137/diff


Testing
-------

Added new testcase to TestCliDriver: index_auth.q


Thanks,

Syed

Reply via email to