age: SQL Error [22023]: ERROR: label_id must be 1 .. 65535
Describe the bug Upon trying to create new Nodes, getting the below error: SQL Error [22023]: ERROR: label_id must be 1 … 65535 The issue is very specific to Nodes whose Labels are already existing, If I try to create Nodes with new Labels, no issues. The volume of data is <100 (total number of Nodes across various Labels). There is no steps I could think of to replicate this issue, it came randomly and exists.
How are you accessing AGE (Command line, driver, etc.)?
- DBeaver, AGE Viewer
What is the necessary configuration info needed?
- Postgres 16
What is the command that caused the error?
SELECT * FROM cypher('SchemaGraph', $$
CREATE (:Category {name: 'CategoryTest1'})
CREATE (:Category {name: 'CategoryTest2'})
$$) AS (n agtype);
SQL Error [22023]: ERROR: label_id must be 1 .. 65535
Expected behavior The Nodes should have been created.
Environment (please complete the following information):
- Release v1.5.0 for PG16
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (9 by maintainers)
@dhilst I was able to reproduce it, see below. I will try to find a resolution.
I’m facing the same error but while trying to use
load_labels_from_file. I’m using the age docker imageThe CSV is the one in the repo https://github.com/apache/age/blob/master/regress/age_load/data/cities.csv
I don’t know if the image ID helps in anything but here is it
The version of the extension is
1.5.0. I’ll look at how to compile from the sources in the meanwhileedit
I build the extension from the source code, then ran
drop extension agereplace theage.soin the postgres folder and tried everything again, same error.The last commit
I don’t know what else to try, let me know if you want me to test something 👍
@jrgemignani , Both through psql cli and DBearver(SQL GUI Client), getting the issue.
There is roughly 26 distinct labels.(The size of data set is very small).
The issue is very specific to Nodes whose Labels are already existing, If I try to create Nodes with new Labels, no issues.