JoinedRowProcessor¶
JoinedRowProcessor is used to process partitions for MergeIntoCommand to write out merged data.
Creating Instance¶
JoinedRowProcessor takes the following to be created:
-
targetRowHasNoMatchExpression -
sourceRowHasNoMatchExpression -
matchedConditionsExpressions -
matchedOutputs(Seq[Seq[Seq[Expression]]]) -
notMatchedConditionsExpressions -
notMatchedOutputs(Seq[Seq[Seq[Expression]]]) -
noopCopyOutputExpressions -
deleteRowOutputExpressions -
joinedAttributesAttributes -
joinedRowEncoder(ExpressionEncoder[Row]) -
outputRowEncoder(ExpressionEncoder[Row])
JoinedRowProcessor is created when:
MergeIntoCommandis requested to write out merged data
Processing Partition¶
processPartition(
rowIterator: Iterator[Row]): Iterator[Row]
processPartition...FIXME
processPartition is used when:
MergeIntoCommandis requested to write out merged data