ubc-systopia / Indaleko

Indaleko Project
GNU Affero General Public License v3.0
0 stars 1 forks source link

Mac ingester doesn't ingest the vertices and relationship #40

Open hadisinaee opened 7 months ago

hadisinaee commented 7 months ago

The current behaviour of the ingester is to read the index file and create two files:

Then, we have to manually import these files into ADB.

The correct behaviour is that the ingester ingests all data and takes care of ingestions. There are cases which we should take care of:

  1. There are unique constraints. Therefore, we cannot re-ingest data. Therefore, for development, there should be a flag that lets us do it. It can be done by passing overwrite=True to the database. It should not be the default behaviour.
  2. We must not ingest relationships if the vertices ingestion fails.