org.apache.hadoop.hive.ql.parse
Class TableAccessAnalyzer
java.lang.Object
org.apache.hadoop.hive.ql.parse.TableAccessAnalyzer
public class TableAccessAnalyzer
- extends Object
TableAccessAnalyzer walks the operator graph from joins and group bys
to the table scan operator backing it. It checks whether the operators
in the path are pass-through of the base table (no aggregations/joins),
and if the keys are mapped by expressions that do not modify the bucket
for the key. If all the keys for a join/group by are clean pass-through
of the base table columns, we can consider this operator as a candidate
for improvement through bucketing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableAccessAnalyzer
public TableAccessAnalyzer()
TableAccessAnalyzer
public TableAccessAnalyzer(ParseContext pactx)
analyzeTableAccess
public TableAccessInfo analyzeTableAccess()
throws SemanticException
- Throws:
SemanticException
Copyright © 2013 The Apache Software Foundation