GenerateRowIDs Logical Plan Normalization Rule¶
GenerateRowIDs is a logical rule (Rule[LogicalPlan]) that Delta Lake injects into SparkSession (using DeltaSparkSessionExtension).
Executing Rule¶
apply transforms the scans on delta tables with Row Tracking enabled in the given LogicalPlan (Spark SQL) bottom-up.
apply...FIXME
metadataWithRowTrackingColumnsProjection¶
metadataWithRowTrackingColumnsProjection...FIXME
rowIdExpr¶
rowIdExpr creates a Coalesce expression with the following expressions:
row_id(sub)attribute of the givenAttributeReference-
Addexpression of thebase_row_idandrow_indexattributes of the givenAttributeReference