phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mujtaba Chohan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2529) Fixing date generation pattern in Phoenix-Pherf
Date Wed, 23 Dec 2015 21:06:46 GMT

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

Mujtaba Chohan commented on PHOENIX-2529:
-----------------------------------------

Thanks for the patch [~karan.singhal]. Can you also please fix a test failure in RuleGeneratorTest.testDateGenerator:57->assertRandomDateValue:191->assertDateBetween:314
ยป IllegalArgument which I get after I apply this and after that 2299v4 patch.

> Fixing date generation pattern in Phoenix-Pherf
> -----------------------------------------------
>
>                 Key: PHOENIX-2529
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2529
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.6.0
>            Reporter: Karan Singhal
>            Assignee: Karan Singhal
>              Labels: patch, performance
>             Fix For: 4.6.0, 4.7.0
>
>         Attachments: PHOENIX-2529.patch
>
>
> pherf is generating date in two different patterns using two different API's , SimpleDateformat(
pattern -> yyyy-MM-dd HH:mm:ss.SSS z with time zone ) and Joda Date format (pattern ->
yyyy-MM-dd HH:mm:ss.SSS without time zone). We need to follow one pattern which have time
zone in it using Joda Date Format.



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

Mime
View raw message