phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <>
Subject Re: Using CURRENT_TIME()
Date Tue, 20 Oct 2015 16:30:34 GMT
The CURRENT_TIME() function is evaluated once per statement execution. The
timestamp used is the current time on the region server hosting the
SYSTEM.CATALOG table. So for batched UPSERT VALUES calls, you'd have
different values for different rows based on when the statement was


On Tue, Oct 20, 2015 at 8:26 AM, Sumit Nigam <> wrote:

> Hi,
> I am using CURRENT_TIME() for one of the columns.
> I wanted to know how is this value passed along to different region
> servers involved in processing the UPSERT? Does it use the current
> timestamps of individual region servers ?
> I am using batched upserts (huge) and have current_time() as one of the
> column values. Would it be right to assume that those rows can get
> different timestamps? Or would they all have same timestamp?
> Thanks,
> Sumit

View raw message