
Josh Peng
Usually I use Postico for all of my Redshift data exploration and SQL query development needs. For newer databases like Snowflake though, I’ve been playing with DBeaver and DataGrip.
DBeaver specifically with Snowflake wasn’t playing nicely with timezone comparisons right out the box. It kept wanting to convert everything to my local timezone (PST). This made it difficult to do time ranged comparisons because I’m used to working off UTC.
There’s no direct option within DBeaver to control this behavior, but thankfully there is an .ini
hack that can trick DBeaver into thinking you are in UTC.
Show Package Contents
Contents\Eclipse\dbeaver.ini
-vmargs
line, add this:
-Duser.timezone=UTC
Limitation: You’ll have to redo this for every version upgrade.
C:\Program Files\DBeaver
dbeaver.ini
-vmargs
line, add this:
-Duser.timezone=UTC