@Deprecated public class HiveTableSqlFunction extends org.apache.flink.table.planner.functions.utils.TableSqlFunction
TableSqlFunction. Override getFunction to clone function and invoke HiveGenericUDTF#setArgumentTypesAndConstants. Override SqlReturnTypeInference to invoke HiveGenericUDTF#getHiveResultType instead of HiveGenericUDTF#getResultType(Object[],
Class[]).| Modifier and Type | Class and Description |
|---|---|
static class |
HiveTableSqlFunction.HiveOperandTypeChecker
Deprecated.
TODO hack code, should modify calcite getRowType to pass operand types
|
| Constructor and Description |
|---|
HiveTableSqlFunction(org.apache.flink.table.functions.FunctionIdentifier identifier,
org.apache.flink.table.functions.TableFunction hiveUdtf,
org.apache.flink.table.types.DataType implicitResultType,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory,
org.apache.flink.table.planner.plan.schema.FlinkTableFunction functionImpl,
HiveTableSqlFunction.HiveOperandTypeChecker operandTypeChecker)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
List<Object> arguments)
Deprecated.
|
org.apache.flink.table.functions.TableFunction |
makeFunction(Object[] constantArguments,
org.apache.flink.table.types.logical.LogicalType[] argTypes)
Deprecated.
|
static HiveTableSqlFunction.HiveOperandTypeChecker |
operandTypeChecker(String name,
org.apache.flink.table.functions.TableFunction udtf)
Deprecated.
|
$lessinit$greater$default$7, getImplicitResultType, getRowTypeInference, inferOperandTypesInternal, isDeterministic, toString, udtfgetElementType, getFunctiongetOperandTypeChecker, getParamNamesderiveType, getFunctionType, getNameAsId, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifieracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic HiveTableSqlFunction(org.apache.flink.table.functions.FunctionIdentifier identifier,
org.apache.flink.table.functions.TableFunction hiveUdtf,
org.apache.flink.table.types.DataType implicitResultType,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory,
org.apache.flink.table.planner.plan.schema.FlinkTableFunction functionImpl,
HiveTableSqlFunction.HiveOperandTypeChecker operandTypeChecker)
public org.apache.flink.table.functions.TableFunction makeFunction(Object[] constantArguments, org.apache.flink.table.types.logical.LogicalType[] argTypes)
makeFunction in class org.apache.flink.table.planner.functions.utils.TableSqlFunctionpublic org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory,
List<Object> arguments)
getRowType in class org.apache.flink.table.planner.functions.utils.TableSqlFunctionpublic static HiveTableSqlFunction.HiveOperandTypeChecker operandTypeChecker(String name, org.apache.flink.table.functions.TableFunction udtf)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.