@@ -26,9 +26,10 @@ case class RawToBiTransform(mode: BI, simulationStart: Long, simulationEnd: Long
26
26
case _ => throw new IllegalStateException (" Unrecognized partition key" )
27
27
}
28
28
29
- private def notOneToManyEdge (entityType : EntityType ): Boolean = entityType match {
29
+ private def notDerived (entityType : EntityType ): Boolean = entityType match {
30
30
case Edge (_, _, _, OneN , _, _, _) => false
31
31
case Edge (_, _, _, NOne , _, _, _) => false
32
+ case Attr (_, _, _, _) => false
32
33
case _ => true
33
34
}
34
35
@@ -72,7 +73,7 @@ case class RawToBiTransform(mode: BI, simulationStart: Long, simulationEnd: Long
72
73
tpe -> BatchedEntity (
73
74
RawToInteractiveTransform .snapshotPart(tpe, v, bulkLoadThreshold, filterDeletion = false ),
74
75
Some (Batched (insertBatchPart(tpe, v, bulkLoadThreshold, simulationEnd), Seq (" batch_id" ), Seq ($" creationDate" ))),
75
- if (notOneToManyEdge (tpe) && (keepImplicitDeletes || v.columns.contains(" explicitlyDeleted" )))
76
+ if (notDerived (tpe) && (keepImplicitDeletes || v.columns.contains(" explicitlyDeleted" )))
76
77
Some (Batched (deleteBatchPart(tpe, v, bulkLoadThreshold, simulationEnd), Seq (" batch_id" ), Seq ($" deletionDate" )))
77
78
else
78
79
None
0 commit comments