You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jianzhong Liu (Jira)" <ji...@apache.org> on 2023/07/20 19:05:00 UTC
[jira] [Created] (TINKERPOP-2972) ProjectStep will produce an unexpected output when dealing with duplicate keys
Jianzhong Liu created TINKERPOP-2972:
----------------------------------------
Summary: ProjectStep will produce an unexpected output when dealing with duplicate keys
Key: TINKERPOP-2972
URL: https://issues.apache.org/jira/browse/TINKERPOP-2972
Project: TinkerPop
Issue Type: Improvement
Components: process
Reporter: Jianzhong Liu
g.V().project("a", "b", "b").by("lang").by(T.id).by("age")
TP:
1 \{'b': 29}
2 \{'b': 27}
3 \{'a': 'java', 'b': '3'}
4 \{'b': 32}
5 \{'a': 'java', 'b': '5'}
6 \{'b': 35}
TinkerPop erroneously generates an output from the final 'productive' by-traversal when a key is used more than once, a situation that should not occur. A proposed solution is to throw an exception when a redundant key is detected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)