[ 
https://issues.apache.org/jira/browse/PHOENIX-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shuxiong Ye updated PHOENIX-1738:
---------------------------------
    Attachment: 
PHOENIX-1738_Implement_end-to-end_test_for_Math_build-in_function_SIGN.patch

> 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
>
>
> 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