You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/04/16 19:02:59 UTC
[jira] [Updated] (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:all-tabpanel ]
James Taylor updated PHOENIX-1876:
----------------------------------
Attachment: PHOENIX-1876.patch
Another one we should get into 4.3 branch, IMO [~samarthjain].
> 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)