Skip to content

Impossible to create an object with an array field of more than 100 elements #989

@vladiksun

Description

@vladiksun

Describe the bug

Currently apache age hits the postgres limit when trying to create an object with an array field of more than 100 elements

How are you accessing AGE (Command line, driver, etc.)?

  • JDBC

What data setup do we need to do?

...
select ag_catalog.create_graph('test_graph');
...

What is the command that caused the error?

select * from ag_catalog.cypher('test_graph', $$
CREATE (any_vertex: test_label { `largeArray`: [
                                        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101
                                    ]
                                }
        )
RETURN any_vertex $$
) as (test agtype);
[54023] ERROR: cannot pass more than 100 arguments to a function

Expected behavior
A label properties object has to be created with an array field more than 100 elements

Environment (please complete the following information):

  • Version: [e.g. 1.3.0]

Additional context
Probably there is a way to bypass this limitation by using an array as a parameter.
Currently, we are in a research if we can move to apache age from another vendor.
This kind of blocks us.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions