typeCoercionRules(conf: SQLConf): List[Rule[LogicalPlan]]
TypeCoercion Object
TypeCoercion
is a Scala object that defines the type coercion rules for Spark Analyzer.
Defining Type Coercion Rules (For Spark Analyzer) — typeCoercionRules
Method
typeCoercionRules
is a collection of Catalyst rules to transform logical plans (in the order of execution):
-
WidenSetOperationTypes
-
PromoteStrings
-
DecimalPrecision
-
BooleanEquality
-
FunctionArgumentConversion
-
ConcatCoercion
-
EltCoercion
-
CaseWhenCoercion
-
IfCoercion
-
StackCoercion
-
Division
-
ImplicitTypeCasts
-
DateTimeOperations
Note
|
typeCoercionRules is used exclusively when Analyzer is requested for batches.
|