You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2022/06/18 15:43:47 UTC
[GitHub] [tinkerpop] li-boxuan opened a new pull request, #1719: TINKERPOP-2742: Warn users of vertex property cardinality mismatch
li-boxuan opened a new pull request, #1719:
URL: https://github.com/apache/tinkerpop/pull/1719
Related to #1657
Demo:
```
gremlin> graph = TinkerGraph.open()
==>tinkergraph[vertices:0 edges:0]
gremlin> g = graph.traversal()
==>graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
gremlin> v1 = g.addV().property("feature0", "0.0").property("feature0", "1.1").next()
==>v[0]
gremlin> g.V().valueMap()
==>[feature0:[0.0,1.1]]
gremlin> g.io("graph.json").write().iterate()
gremlin> g.V().drop()
gremlin> g.io("graph.json").read().iterate()
WARN org.apache.tinkerpop.gremlin.structure.util.Attachable - feature0 has SINGLE cardinality but with more than one value: [vp[feature0->0.0], vp[feature0->1.1]]. Only last value will be retained.
gremlin> g.V().valueMap()
==>[feature0:[1.1]]
```
--
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: commits-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tinkerpop] spmallette merged pull request #1719: TINKERPOP-2742: Warn users of vertex property cardinality mismatch
Posted by GitBox <gi...@apache.org>.
spmallette merged PR #1719:
URL: https://github.com/apache/tinkerpop/pull/1719
--
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: commits-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org