[jira] [Commented] (CARBONDATA-294) Timestamp Data Error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-294) Timestamp Data Error

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15562028#comment-15562028 ]

ASF GitHub Bot commented on CARBONDATA-294:
-------------------------------------------

GitHub user lion-x opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/226

    [CARBONDATA-294]Fix timestamp data error

    # Why raise this PR?
    In some Examples and testcases, **CarbonCommonConstants.CARBON_TIMESTAMP_FORMAT** is assigned a wrong timestamp format "yyyy/mm/dd". This wrong format will cause that Month is set a default value 1.
   
    for example, 2015/07/23 will be set as 2015/01/23 00:07:xx.xxx .
   
    The right timestamp format should be yyyy/MM/dd. This PR fix the wrong uses in some example files and testcase files.
   


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lion-x/incubator-carbondata timeError

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/226.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #226
   
----
commit 4ae904f881766ab0990132e8be6fc6d7cfaf72a8
Author: lion-x <[hidden email]>
Date:   2016-10-10T11:17:35Z

    Fixtimestamperror

----


> Timestamp Data Error
> --------------------
>
>                 Key: CARBONDATA-294
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-294
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Lionx
>            Assignee: Lionx
>            Priority: Critical
>
> In CarbonExample, When Loading 2015/7/23 as a Timestamp, when querying, it will return 2015-01-23 xx:xx:xx:xx. Six months have been stolen.



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