SESSIONS views: New columns and a behavior change for the closed_reason column (Preview)¶
Attention
This behavior change is in the 2026_01 bundle.
For the current status of the bundle, refer to Bundle history.
When this behavior change bundle is enabled, the ACCOUNT_USAGE.SESSIONS and ORGANIZATION_USAGE.SESSIONS views include the following new columns:
Column name |
Data type |
Description |
|---|---|---|
|
TIMESTAMP_LTZ |
Date and time when the session was last used. |
|
BOOLEAN |
Whether the session is currently open (TRUE) or closed (FALSE). |
Additionally, the behavior of the closed_reason column changes as follows:
- Before the change:
When a session is still open, the
closed_reasoncolumn returns UNKNOWN.- After the change:
When a session is still open, the
closed_reasoncolumn returns NULL.
This change affects customers with code that explicitly checks for closed_reason = UNKNOWN
or that depends on the old column structure.
Ref: 2149