PreWriteCheck Extended Analysis Check¶
PreWriteCheck
is an extended analysis check that verifies correctness of a <
PreWriteCheck
is part of the <
PreWriteCheck
is simply a <
=== [[apply]] Executing Function -- apply
Method
[source, scala]¶
apply(plan: LogicalPlan): Unit¶
NOTE: apply
is part of Scala's https://www.scala-lang.org/api/2.11.12/index.html#scala.Function1[scala.Function1] contract to create a function of one parameter.
apply
traverses the input <
-
[[apply-InsertableRelation]] For an
InsertIntoTable
with a <>...FIXME -
For any
InsertIntoTable
,apply
throws aAnalysisException
if the <> is neither a < > nor one of the following leaf logical operators: Range
,OneRowRelation
, <>. + Inserting into an RDD-based table is not allowed.