Skip to content
Snippets Groups Projects
Unverified Commit 85857aeb authored by Case Nelson's avatar Case Nelson Committed by GitHub
Browse files

fix: snowflake compile day trunc to timestamp_ltz (#47874)

Fixes #47426

Date operations return values based on the timestamp offset rather than
the session/db timezone. Converting to `timestamp_ltz` first ensures
that we get predictable results.

In the test, it is important that database timezone matches
report_timezone so that post-processing gives proper results.
parent 1174d9cc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment