[
https://issues.apache.org/jira/browse/PHOENIX-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14243185#comment-14243185
]
Lars Hofhansl commented on PHOENIX-1516:
----------------------------------------
Thanks [~gabriel.reid].
Yeah I was grappling with that too. In fact the first version just created a
new Random() in the constructor and then called nextDouble upon each invocation
of evaluate. Then I realized that's not how most databases work. I can easily
change it back to that, but we do not have a Determinism setting for that; I
guess I could set that STATEMENT and then declare it stateful, so that the
value cannot be cached.
> Add RANDOM built-in function
> ----------------------------
>
> Key: PHOENIX-1516
> URL: https://issues.apache.org/jira/browse/PHOENIX-1516
> Project: Phoenix
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Attachments: 1516.txt
>
>
> I often find it useful to generate some rows with random data.
> Here's a simple RANDOM() function that we could use for that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)