[
https://issues.apache.org/jira/browse/PHOENIX-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388300#comment-14388300
]
Rajeshbabu Chintaguntla commented on PHOENIX-1792:
--------------------------------------------------
[~ayingshu]
There is a test case failure. Can you please check
{noformat}
YearMonthSecondFunctionIT
testWeekFuncAgainstColumns(org.apache.phoenix.end2end.YearMonthSecondFunctionIT)
Time elapsed: 0.151 sec <<< FAILURE!
java.lang.AssertionError: expected:<9> but was:<10>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at
org.apache.phoenix.end2end.YearMonthSecondFunctionIT.testWeekFuncAgainstColumns(YearMonthSecondFunctionIT.java:184)
{noformat}
> Add Week() and Hour() built-ins
> -------------------------------
>
> Key: PHOENIX-1792
> URL: https://issues.apache.org/jira/browse/PHOENIX-1792
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Alicia Ying Shu
> Assignee: Alicia Ying Shu
> Fix For: 5.0.0, 4.4.0
>
> Attachments: Phoenix-1792.patch
>
>
> WEEK(date) An integer from 1 to 53 representing the week of the year in date
> HOUR(time) An integer from 0 to 23 representing the hour component of time
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)