You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2018/01/18 22:55:00 UTC

[jira] [Commented] (CALCITE-2142) Set rand() function as non-deterministic.

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

Julian Hyde commented on CALCITE-2142:
--------------------------------------

In CALCITE-1552 we made a deliberate decision to add the {{\@Deterministic}} annotation to  RandomFunction. You should understand why we did that before you change things.

> Set rand() function as non-deterministic.
> -----------------------------------------
>
>                 Key: CALCITE-2142
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2142
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Josh Wagner
>            Assignee: Julian Hyde
>            Priority: Minor
>
> SqlRandFunction should override isDeterministic() such that it returns false.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)