multinet-app / multinet-api

Apache License 2.0
2 stars 2 forks source link

Filter out missed joins in csv network creation #140

Closed jjnesbitt closed 2 years ago

jjnesbitt commented 2 years ago

Closes https://github.com/multinet-app/multinet-client/issues/256

This fixes a bug in csv network creation in which edge tables rows that had no matching value in either the source or target table (i.e. there was no document that had a value matching that of the edge table in the required column) would still be blindly inserted. This would fail and cause an internal server error, since they contained a _from or _to field with a value of null.