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

Jan Fernando commented on PHOENIX-2299:
---------------------------------------

[~cody.mar...@gmail.com] brings up a really great point. I can see this would 
be very useful when using Pherf to load/seed data but could really be dangerous 
if calculating query perf stats that uses date filtering. What about if NOW() 
sets the date at the start of the load, stores it with the scenario and the 
queries can refer to this calculated date using a special variable? That way 
the tests would be repeatable and you wouldn't suddenly think your queries were 
blazing faster because they were returning zero data.

> Support CURRENT_DATE() in Pherf data upserts
> --------------------------------------------
>
>                 Key: PHOENIX-2299
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2299
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Karan Singhal
>
> 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)

Reply via email to