Hive如何为每个查询自动生成Map Reduce代码,是否可以查看Hive为每个查询生成的Map Reduce代码?
Hive does not generate Map reduce code rather it uses different type of operators like Map Operator, Reduce Operator , Join Operator, Limit Operator...... It uses the corresponding operators based on plan generated from our SQL.
The code for operators can be found in JAR hive-exec.jar Here is the repository link for the code http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.