org.apache.hadoop.hive.ql.optimizer
Class SimpleFetchOptimizer
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.SimpleFetchOptimizer
- All Implemented Interfaces:
- Transform
public class SimpleFetchOptimizer
- extends Object
- implements Transform
Tries to convert simple fetch query to single fetch task, which fetches rows directly
from location of table/partition.
SimpleFetchOptimizer
public SimpleFetchOptimizer()
transform
public ParseContext transform(ParseContext pctx)
throws SemanticException
- Description copied from interface:
Transform
- All transformation steps implement this interface.
- Specified by:
transform
in interface Transform
- Parameters:
pctx
- input parse context
- Returns:
- ParseContext
- Throws:
SemanticException
replaceFSwithLS
public static ListSinkOperator replaceFSwithLS(Operator<?> fileSink,
String nullFormat)
Copyright © 2014 The Apache Software Foundation. All rights reserved.