You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2014/12/11 07:20:12 UTC
[jira] [Updated] (PHOENIX-1516) Add RANDOM built-in function
[ https://issues.apache.org/jira/browse/PHOENIX-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl updated PHOENIX-1516:
-----------------------------------
Attachment: 1516.txt
Simple patch.
For discussion:
* is this enough? Should we allow setting the a random seed?
* do we need to generate the same random value for the same timestamp?
* with this it is impossible to generate a different random value for different column in the row (as the value will be same just one value per row), I can easily change that in the evaluate method, but how do we want it?
> 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
> 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)