I’m having two issues with CSV migration. The first is key does not seem to work and the second is the -v,–verbose option causes issues during import.
First issue, even though I’m using key on almost every attribute I’m still getting duplicate entities. I’m using the schema: https://github.com/BFergerson/grakn-speed-test/blob/master/grakn-schema.gql
Notice the attributes name, qualified_name, and commit_sha1 are all labeled as key. From my understanding of the key keyword this should prevent entities from having either the same name, qualified_name, or commit_sha1. So having them all being exactly the same on the same entity should definitely not work.
However, running this script twice: https://github.com/BFergerson/grakn-speed-test/blob/master/src/main/java/TestImport.java results in the following logs:
Notice all the counts increase. How is this possible when I’m using key?
Second issue, same script: https://github.com/BFergerson/grakn-speed-test/blob/master/src/main/java/TestImport.java but now uncomment //"-v", //<< doesn’t work. This results in: https://gist.github.com/BFergerson/c02fd945069ee3df5bb948545541635d#file-verbose-run
Not sure what that’s about but seems erroneous specially since simply uncommenting that option causes the script to run fine.