typedb-osi / typedb-loader

TypeDB Loader - Data Migration Tool for TypeDB
https://github.com/typedb-osi/typedb-loader
Apache License 2.0
58 stars 17 forks source link

import-task dependency management update #25

Closed hkuich closed 3 years ago

hkuich commented 3 years ago
  1. independent attributes
  2. entities
  3. relations
  4. nested-relations
  5. appending attributes

because when having attributes as players, they can be added in steps 3, 4, and 5 - and it is no longer guaranteed that they are already present...

Solution:

  1. adding independent attributes can and should always happen first
  2. adding entities next can and should always happen second
  3. next would be relations containing only entities
  4. next would be relations containing entities and other relations
  5. next would be appending attributes to existing entities or relations
  6. finally all relations that have attributes as players
  7. there should then be an option to have something be imported "afterwards" - for example, when one has a nested relation that contains attribute players, requiring that 6. is completed
hkuich commented 3 years ago

implementation finished - awaiting merge request