You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2015/04/16 19:06:59 UTC
[jira] [Commented] (PHOENIX-1876) Check for null function arguments
before evaluating when constant
[ https://issues.apache.org/jira/browse/PHOENIX-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498310#comment-14498310 ]
Samarth Jain commented on PHOENIX-1876:
---------------------------------------
+1 for 4.3
> 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)