org.apache.hadoop.hive.ql.optimizer.optiq.translator
Class SqlFunctionConverter
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.optiq.translator.SqlFunctionConverter
public class SqlFunctionConverter
- extends Object
SqlFunctionConverter
public SqlFunctionConverter()
getOptiqOperator
public static org.eigenbase.sql.SqlOperator getOptiqOperator(GenericUDF hiveUDF)
buildAST
public static ASTNode buildAST(org.eigenbase.sql.SqlOperator op,
List<ASTNode> children)
buildAST
public static ASTNode buildAST(org.eigenbase.sql.SqlOperator op,
List<ASTNode> children,
int i)
- Build AST for flattened Associative expressions ('and', 'or'). Flattened
expressions is of the form or[x,y,z] which is originally represented as
"or[x, or[y, z]]".
Copyright © 2014 The Apache Software Foundation. All rights reserved.