Hi,

I checked the code and the user guide, and I found there is an interface 
Session(String host, int rpcPort, String username, String password, ZoneId 
zoneId), which allows users to set the zoneId manually, not included in the 
user guide. You might like to try it.

By the way, I see there are some other interfaces not appeared in our docs. 
It's time to update them as well.

Best,
Haonan



On 2021/04/28 18:43:27, Dhruv Garg <[email protected]> wrote: 
> Hello,
> 
> I have been testing v0.12 for a few days now, and it has been great so far.
> There is a small issue I encountered with respect to creating a session for
> using Native APIs.
> 
> While creating the session, we can optionally pass a ZoneID. I wanted to
> get the UTC zone i.e. UTC+00:00, however it still picks up my machine's
> local time-zone while inserting data into the database. Hence the row I
> want at YYYY-MM-DDT00:00:00.000 is found at YYYY-MM-DDT05:30.000+05:30.
> 
> I wanted to know if this is a known error or if I'm creating the session in
> an incorrect way.
> 
> Regards,
> dgargcs
> 

Reply via email to