phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ash...@gmail.com
Subject Re: Can current_date() return local time
Date Mon, 18 Jul 2016 18:05:19 GMT
In hbase-site.xml set:

phoenix.query.dateFormatTimeZone = "your time zone"


Alicia

On Fri, Jul 15, 2016 at 8:06 AM, Sean Yu <pmpmate@gmail.com> wrote:

> In my current configuration (out of box setup),
> current_date()/current_time()/now() always return UTC time. The doc says
> the functions return the current time of hbase region server, and hbase by
> default is using UTC time. is it possible to make some configuration so
> that above functions return local time? Thanks!
>

Mime
View raw message