I am trying to load 1,000,000 lines of data into AgensGraph. It is simple data with fake user profiles, and I named the label as "user".
However, ERROR statement popped out, and I believe it is because the word "user" is reserved as one of the reserved words of AgensGraph. When I changed the word to "person", it creates vertexes without any problem.
agraph=# LOAD FROM vlabel_user AS user CREATE (a:user=row_to_json(user)::jsonb);
ERROR: syntax error at or near "user"
LINE 1: LOAD FROM vlabel_user AS user CREATE (a:user=row_to_json(use...
agraph=# LOAD FROM vlabel_user AS person CREATE (a:person=row_to_json(person)::jsonb);
GRAPH WRITE (INSERT VERTEX 1000000)
After I found this out, I wonder whether there are other words besides "user" that I cannot use. I couldn't find any information through the Google, so I am asking others' help.