chore: fix GraphOfTheMoviesExample exception by simon824 · Pull Request #1953 · apache/hugegraph
Conversation
This pr will fix these exception:
Exception in thread "main" java.lang.IllegalArgumentException: No need to build index on properties [name], because they contains all primary keys [name] for vertex label 'person'
Exception in thread "main" java.lang.IllegalStateException: Stop the current transaction before opening another
| .sourceLabel("person").targetLabel("movie") | ||
| .create(); | ||
|
|
||
| schema.indexLabel("personByName").onV("person").by("name") |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THX, could add & run it in test/CI?
imbajin
changed the title
chore: fix GraphOfTheMoviesExample Exception
chore: fix GraphOfTheMoviesExample exception
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters