phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-1516) Add RANDOM built-in function
Date Tue, 20 Jan 2015 01:14:34 GMT


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:
>             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

View raw message