EquivalentExpressions¶
Creating Instance¶
EquivalentExpressions takes the following to be created:
EquivalentExpressions is created when:
CodegenContextis created and requested to subexpressionEliminationForWholeStageCodegenSubExprEvaluationRuntimeis requested toproxyExpressionsPhysicalAggregationis requested to unapply
Demo¶
import org.apache.spark.sql.catalyst.expressions.EquivalentExpressions
val equivalentExpressions = new EquivalentExpressions