[
https://issues.apache.org/jira/browse/PHOENIX-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283262#comment-14283262
]
James Taylor commented on PHOENIX-1516:
---------------------------------------
Thanks for persevering. So an existing test, ArithmeticQueryIT, fails with your
changes? That's somewhat surprising. Did you add the test that has autocommit
on and upsert/selects into the same table?
FWIW, this is the first built-in function that keeps state, that's why there
are more changes required. A regular, simple built-in function is pretty
trivial to write. Even one that keeps state will be pretty easy to write (after
this :-( ).
> 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-v2.txt, 1516-v3.txt, 1516-v4-wip.txt,
> 1516-v5-wip.txt, 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)