You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This setup is intentionally to confuse APOC. For both labels A and B, the property X is typed both string and long.
The APOC call:
This procedure uses a sampling configuration as specified by the config parameters, which is a MetaConfig object. The sampling appears respected, but the property type information stored in the MetaResult class is "last type in wins".
I would say this behavior is incorrect. There are two possible correct behaviors:
Return an array of different types the property could have, as observed in the sample ["Long", "String"]
Perform some type-coercion, and always report "String" as a single property type, because it is the widest of all observed types.
The text was updated successfully, but these errors were encountered:
Comment by moxious Thursday Oct 17, 2019 at 18:53 GMT
I found this because the issue is related to a PR in progress. In that PR APOC will have different stored procs that return the array of encountered types (fix suggestion 1) . neo4j-contrib/neo4j-apoc-procedures#1318
Issue by moxious
Thursday Oct 17, 2019 at 18:50 GMT
Originally opened as neo4j-contrib/neo4j-apoc-procedures#1319
Replication that worked for me:
This setup is intentionally to confuse APOC. For both labels A and B, the property X is typed both string and long.
The APOC call:
This procedure uses a sampling configuration as specified by the config parameters, which is a MetaConfig object. The sampling appears respected, but the property type information stored in the MetaResult class is "last type in wins".
I would say this behavior is incorrect. There are two possible correct behaviors:
The text was updated successfully, but these errors were encountered: