LW038 Comparison decided by the session’s time zone

Severity: WarningFree

A DATE or TIMESTAMP_NTZ is compared with a TIMESTAMP_LTZ or TIMESTAMP_TZ — a JOIN key included — so Snowflake converts it in the session’s TIMEZONE, and the result depends on who runs the model.

How it scores

Debugging time saved
Impact
Time to detection
Complexity

Our estimates, from 1 to 5, not measurements. Compare it with the other 53 codes →

Part of

Also in “Time zones taken from the session”

Install free →All 54 diagnostic codes