[ https://issues.apache.org/jira/browse/PHOENIX-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056366#comment-15056366 ]
Karan Singhal commented on PHOENIX-2299: ---------------------------------------- [~cody.mar...@gmail.com] After investigating little more I found out that 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) . And the way I generated the date was with time zone. But the Unit test is expecting date without time zone. I think we should follow one standard date pattern which has time zone in it (yyyy-MM-dd HH:mm:ss.SSS z). > Support CURRENT_DATE() in Pherf data upserts > -------------------------------------------- > > Key: PHOENIX-2299 > URL: https://issues.apache.org/jira/browse/PHOENIX-2299 > Project: Phoenix > Issue Type: Improvement > Affects Versions: 4.6.0 > Reporter: James Taylor > Assignee: Karan Singhal > Labels: performance > Fix For: 4.6.0, 4.7.0 > > Attachments: > 0001-PHOENIX-2299-Support-CURRENT_DATE-in-Pherf-data-upse.patch, > PHOENIX-2299-Support-CURRENT_DATE_1.patch, PHOENIX-2299.3.patch > > > Just replace the actual date with "NOW" in the xml. Then check the string for > that value in the generator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)