[
https://issues.apache.org/jira/browse/TINKERPOP-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marko A. Rodriguez closed TINKERPOP-1739.
-----------------------------------------
Resolution: Invalid
I believe you are using Gremlin over DSEGraph. Gremlin has no notion of schema
and thus, {{property('name_time', '0001-01-01 00:00:00')}} is just a string
value for the {{name_time}} property. Please file this ticket with DSEGraph as
I suspect they need to translate the string to the appropriate date time object.
> Timestamp value is not correctly written
> ----------------------------------------
>
> Key: TINKERPOP-1739
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1739
> Project: TinkerPop
> Issue Type: Bug
> Components: console
> Affects Versions: 3.2.5
> Reporter: Jaume M
>
> {code}
> schema.vertexLabel('user').ifNotExists().create();
> schema.propertyKey('name_time').Timestamp().ifNotExists().create();
> schema.vertexLabel('user').properties('name_time').add();
> g.addV('user').property('name_time', '0001-01-01 00:00:00').toList();
> g.V().values()
> //0000-12-30T05:00:00Z
> {code}
> 0000-12-30T05:00:00Z is being written instead of 0001-01-01 00:00:00
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)