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 Wed, 17 Dec 2014 00:43:13 GMT


James Taylor commented on PHOENIX-1516:

One way to deal with this "per row" state would be to call expression.reset() for each expression
in the RowProjector after We could either do it only if the expression.getDeterminism
is PER_ROW or greater, or we could do it all the time. This would give the expression a chance
to "cleanup" any state it may be managing. We already call expression.reset() per row on the
server side when we evaluate expressions during filter evaluation.

> Add RANDOM built-in function
> ----------------------------
>                 Key: PHOENIX-1516
>                 URL:
>             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

View raw message