I am using Apache ageDB and trying to load data from the CSV file, but the reading operation fails after executing the program for some time.
SELECT * FROM create_graph('neurond');
SELECT create_vlabel('neurond','entity');
SELECT * FROM load_labels_from_file('neurond','entity,'./data_dir/entity.csv');
Note: Data path is correct.
This query produces this error:
ERROR: entry_id must be 1 .. 281474976710655
However, the entry_id ranges from 10,000 to 330,000
2
Answers
Try this for loading:
I think the error occurs as result of a missing single quote
'
after the wordentity
the second parameter value ofload_labels_from_file
function used.So try this after fix ,