saygoodbyye commented on issue #1439: URL: https://github.com/apache/age/issues/1439#issuecomment-1888536348
@rafsun42 Thank you! I have tested PR #1483. I have understood how to reproduce the issue faster. If you run tests on a virtual machine exactly with 2 cores, the error will repeat itself many times faster. So, on 2 core system I get the following results: regression.out: ``` test scan ... ok 292 ms test graphid ... ok 11 ms test agtype ... ok 68 ms test catalog ... ok 71 ms test cypher ... ok 21 ms test expr ... FAILED 371 ms test cypher_create ... ok 88 ms test cypher_match ... ok 500 ms test cypher_unwind ... ok 40 ms test cypher_set ... ok 90 ms test cypher_remove ... ok 68 ms test cypher_delete ... ok 161 ms test cypher_with ... ok 58 ms test cypher_vle ... ok 792 ms test cypher_union ... ok 21 ms test cypher_call ... ok 33 ms test cypher_merge ... ok 183 ms test age_global_graph ... ok 104 ms test age_load ... ok 1283 ms test index ... ok 100 ms test analyze ... ok 19 ms test graph_generation ... ok 57 ms test name_validation ... ok 110 ms test jsonb_operators ... ok 78 ms test drop ... ok 221 ms ``` regression.diffs: ``` diff -U3 /home/egor/work/age/regress/expected/expr.out /home/egor/work/age/regress/results/expr.out --- /home/egor/work/age/regress/expected/expr.out 2024-01-11 13:04:18.474303239 +0300 +++ /home/egor/work/age/regress/results/expr.out 2024-01-12 07:55:56.036808105 +0300 @@ -1506,11 +1506,13 @@ RETURN e $$) AS (i bigint); ERROR: cannot cast agtype edge to type int +CONTEXT: parallel worker SELECT * FROM cypher('type_coercion', $$ MATCH p=()-[]-() RETURN p $$) AS (i bigint); ERROR: cannot cast agtype path to type int +CONTEXT: parallel worker -- -- Test typecasting '::' transform and execution logic -- @@ -7249,6 +7251,7 @@ \set debug_parallel_query to regress -- suppresses context message from a parallel worker SELECT * from cypher('keys', $$MATCH u=()-[]-() RETURN keys(u)$$) as (keys agtype); ERROR: keys() argument must be a vertex, edge, object or null +CONTEXT: parallel worker \unset debug_parallel_query SELECT create_graph('list'); NOTICE: graph "list" has been created ``` Also, due to the setting of 2 cores, the "cypher_match" test began to fail. I've created a PR #1507 that fixes this test. -- 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: dev-unsubscr...@age.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org