You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Kevin Gallardo (JIRA)" <ji...@apache.org> on 2017/05/10 15:56:05 UTC

[jira] [Updated] (TINKERPOP-1445) Large nested VertexProperties and Properties do not get printed well

     [ https://issues.apache.org/jira/browse/TINKERPOP-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Gallardo updated TINKERPOP-1445:
--------------------------------------
    Issue Type: Improvement  (was: Bug)

> Large nested VertexProperties and Properties do not get printed well
> --------------------------------------------------------------------
>
>                 Key: TINKERPOP-1445
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1445
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.2
>            Reporter: Kevin Gallardo
>            Priority: Minor
>
> {code}
> gremlin> m = ['hello':'world', 'helo':'fromtheotherside']
> ==>hello=world
> ==>helo=fromtheotherside
> gremlin> graph.traversal().E().next().property('longMap', m)
> ==>p[longMap->{hello=world, helo=f]
> {code}
> Maybe the printing could be improved just to at least inform that there's more in the value with a {{...}} or {{\[...\]}} for example.
> It seems to be the {{substring()}} call in [propertyString|https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/StringFactory.java#L113].



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)