Package org.apache.hadoop.hive.ql.parse

Examples of org.apache.hadoop.hive.ql.parse.TableAccessInfo


    QueryPlan plan = hookContext.getQueryPlan();
    if (plan == null) {
      return;
    }

    TableAccessInfo tableAccessInfo = hookContext.getQueryPlan().getTableAccessInfo();
    if (tableAccessInfo == null ||
        tableAccessInfo.getOperatorToTableAccessMap() == null ||
        tableAccessInfo.getOperatorToTableAccessMap().isEmpty()) {
      return;
    }

    LogHelper console = SessionState.getConsole();
    Map<Operator<? extends OperatorDesc>, Map<String, List<String>>> operatorToTableAccessMap =
      tableAccessInfo.getOperatorToTableAccessMap();

    // We need a new map to ensure output is always produced in the same order.
    // This makes tests that use this hook deterministic.
    Map<String, String> outputOrderedMap = new HashMap<String, String>();
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.ql.parse.TableAccessInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.