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 2014/06/09 02:03:01 UTC
[jira] [Commented] (PHOENIX-1030) Change
Expression.isDeterministic() to return an ENUM with three values
{DETERMINISTIC, UNDETERMINISTIC_ROW, UNDETERMINISTIC_STMT}
[ https://issues.apache.org/jira/browse/PHOENIX-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021485#comment-14021485 ]
James Taylor commented on PHOENIX-1030:
---------------------------------------
Brainstorming on names, perhaps inside of Expression
{code}
public enum Deterministic {ALWAYS, PER_ROW, PER_STATEMENT};
{code}
> Change Expression.isDeterministic() to return an ENUM with three values {DETERMINISTIC, UNDETERMINISTIC_ROW, UNDETERMINISTIC_STMT}
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-1030
> URL: https://issues.apache.org/jira/browse/PHOENIX-1030
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Thomas D'Silva
> Assignee: Thomas D'Silva
>
> Change Expression.isDeterministic() to return an ENUM with three values
> DETERMINISTIC - the expression returns the same output every time given the same input.
> UNDETERMINISTIC_ROW - the expression should be computed for every row
> UNDETERMINISTIC_STMT - the expression should be be computed for a given statement only once
> See PHOENIX-1001
--
This message was sent by Atlassian JIRA
(v6.2#6252)