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
If the original node properties are of mixed type (see "n.a"), then the imported properties are coerced to string. All properties with pure types do have the original type.
This behavior is due to a restriction of GraphML. GraphML assumes that all node or relationship properties with the same property name have property value of the same type. Neo4j allows mixed types per property name. If a property name has value of mixed value types, then its value are exported as a STRING.
If a node property name is associated with property value of different types, e.g. as in (:LabelA {prop: 123}), (:LabelB {prop: 'abc'}) or as in the example above, then no property type information is written to the graphml output for that node property name. The same holds for relationship properties.
Tuesday Jul 20, 2021 at 10:03 GMT
Originally opened as neo4j-contrib/neo4j-apoc-procedures#2099
Expected Behavior
Exporting a graph with
into graphml
and then importing this again with
should reproduce the same graph
with all properties having the same type as in the original graph:
Actual Behavior
If the original node properties are of mixed type (see "n.a"), then the imported properties are coerced to string. All properties with pure types do have the original type.
How to Reproduce the Problem
Simple Dataset
Steps (Mandatory)
Specifications
Versions
The text was updated successfully, but these errors were encountered: