You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2016/09/13 13:23:20 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15487187#comment-15487187 ] 

Marko A. Rodriguez commented on TINKERPOP-1445:
-----------------------------------------------

Huh -- I remember us having a {{...}} if the string was too long. Be good if it was:

{code}
p[longMap->{hello=world, helo=f...}]
{code}

> 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: Bug
>    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.4#6332)