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

Hudson commented on PHOENIX-1876:
---------------------------------

FAILURE: Integrated in Phoenix-master #684 (See 
[https://builds.apache.org/job/Phoenix-master/684/])
PHOENIX-1876 Check for null function arguments before evaluating when constant 
(jtaylor: rev 035e315794427e0914be6d0a84fb6bac5331d6a8)
* phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionCompiler.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/DecodeFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/EncodeFunctionIT.java


> Check for null function arguments before evaluating when constant
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-1876
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1876
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>         Attachments: PHOENIX-1876.patch
>
>
> For built-in functions, we should check whether any required function 
> arguments are null (in which case the function always evaluates to null), 
> prior to evaluating a stateless, deterministic function. This enables us to 
> rely on required arguments being not null if they are constants when evaluate 
> is called.



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

Reply via email to