CheckDeltaInvariant¶
CheckDeltaInvariant is a UnaryExpression (Spark SQL) for DeltaInvariantCheckerExec physical operator.
Creating Instance¶
CheckDeltaInvariant takes the following to be created:
- Child Expression (Spark SQL)
- Column Extractors (
Map[String, Expression]) - Constraint
CheckDeltaInvariant is created using withBoundReferences and when:
DeltaInvariantCheckerExecphysical operator is executed
Evaluating Expression¶
eval is part of the Expression (Spark SQL) abstraction.
eval asserts the constraint on the input InternalRow.
Asserts Constraint¶
assertRule...FIXME
Creating CheckDeltaInvariant with BoundReferences¶
withBoundReferences...FIXME
withBoundReferences is used when:
DeltaInvariantCheckerExecphysical operator is executed