atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Kantor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-246) QuickStart uses integer data type for dates, which causes data loss
Date Mon, 26 Oct 2015 21:57:27 GMT

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

David Kantor updated ATLAS-246:
-------------------------------
    Attachment: ATLAS-246-v0.patch

Patch for ATLAS-246

> QuickStart uses integer data type for dates, which causes data loss
> -------------------------------------------------------------------
>
>                 Key: ATLAS-246
>                 URL: https://issues.apache.org/jira/browse/ATLAS-246
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.6-incubating, trunk
>            Reporter: David Kantor
>            Assignee: David Kantor
>            Priority: Minor
>              Labels: patch-available
>             Fix For: 0.6-incubating, trunk
>
>         Attachments: ATLAS-246-v0.patch
>
>
> The QuickStart program uses DataTypes.INT_TYPE when defining datetime attributes on the
DB, Table, and LoadProcess types.  This causes data loss when Java long integer date values
(such as what is returned by System.currentTimeMillis()) are converted to integers, and an
incorrect value is stored when entities of these types are created in the repository.  DataTypes.LONG_TYPE
should be used to avoid the data loss.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message