MironAtHome opened a new issue, #1986:
URL: https://github.com/apache/age/issues/1986
The maximum langth for label ( vertex ) name for application Age is defined
as following:
`#define MAX_LABEL_NAME_LEN 65535`
in the file name_validation.h
Checking behavior of application, creating vertexs with length approaching
limit of 65535 characters encountered this behavior:
1 Attempt to create first edge with name length 65536 success.
However
2 subsequent request to create vlabel with name with last two characters
removed fails with message:
-- ERROR: label
"vertexwithextremelyveryveryveryverylongnamenamenamenamenamename" already
exists
-- SQL state: 3F000
I think 65535 is not very reasonable length for the name of vertex. So,
please do reconsider, but if it is decided to support 65535 character legth,
please do ensure it is working.
```
select create_vlabel('test_graph',
'vertexwithextremelyveryveryveryverylongnamenamenamename<...>');
-- NOTICE: VLabel
"vertexwithextremelyveryveryveryverylongnamenamenamenamenamename" has been
created
-- Successfully run. Total query runtime: 3 secs 93 msec.
-- 1 rows affected.
select create_vlabel('test_graph',
'vertexwithextremelyveryveryveryverylongnamenamenamename<...>');
-- ERROR: label
"vertexwithextremelyveryveryveryverylongnamenamenamenamenamename" already
exists
-- SQL state: 3F000
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]