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

Shuxiong Ye edited comment on PHOENIX-1738 at 3/17/15 5:47 AM:
---------------------------------------------------------------

[~jamestaylor] - new patch is available : )


was (Author: shuxi0ng):
code refinement after review

> Create end-to-end test for SIGN function
> ----------------------------------------
>
>                 Key: PHOENIX-1738
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1738
>             Project: Phoenix
>          Issue Type: Test
>            Reporter: James Taylor
>            Assignee: Shuxiong Ye
>             Fix For: 4.0.0
>
>         Attachments: 
> PHOENIX-1738_Implement_end-to-end_test_for_Math_build-in_function_SIGN.patch.2
>
>
> Add end-to-end test that uses SIGN in the WHERE clause against a column value 
> in ArithmeticQueryIT. This tests that the "plumbing" for SIGN was done 
> correctly (i.e. mainly that it was added to ExpressionType).
> A query like this with a few rows in the table would be good:
> {code}
> SELECT * FROM testDecimalArithmetic WHERE SIGN(col1) = -1
> {code}



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

Reply via email to