You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/10 11:29:20 UTC

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

    [ 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 <xl...@gmail.com>
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)