Packages

object ExtractPythonUDFs extends Rule[LogicalPlan] with PredicateHelper

Extracts PythonUDFs from operators, rewriting the query plan so that the UDF can be evaluated alone in a batch.

Only extracts the PythonUDFs that could be evaluated in Python (the single child is PythonUDFs or all the children could be evaluated in JVM).

This has the limitation that the input to the Python UDF is not allowed include attributes from multiple child operators.

Linear Supertypes
PredicateHelper, AliasHelper, Rule[LogicalPlan], Logging, SQLConfHelper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtractPythonUDFs
  2. PredicateHelper
  3. AliasHelper
  4. Rule
  5. Logging
  6. SQLConfHelper
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(plan: LogicalPlan): LogicalPlan
    Definition Classes
    ExtractPythonUDFs → Rule
  2. def conf: SQLConf
    Definition Classes
    SQLConfHelper
  3. def findExpressionAndTrackLineageDown(exp: Expression, plan: LogicalPlan): Option[(Expression, LogicalPlan)]
    Definition Classes
    PredicateHelper
  4. def isLikelySelective(e: Expression): Boolean
    Definition Classes
    PredicateHelper
  5. val ruleName: String
    Definition Classes
    Rule