Skip to content

Support timezone picker on ga_session.visitStart#26

Open
henrymei wants to merge 1 commit intollooker:masterfrom
henrymei:session_datefix
Open

Support timezone picker on ga_session.visitStart#26
henrymei wants to merge 1 commit intollooker:masterfrom
henrymei:session_datefix

Conversation

@henrymei
Copy link

@henrymei henrymei commented May 26, 2020

Currently (in at least BigQuery), using TIMESTAMP(${visitStartSeconds}) will trigger a double cast when you pick a non-UTC timezone since visitStart treats the datetime it receives from visitStartSeconds as a string. Adding an inline type-hint avoids this and gives the desired behavior.

This is also pointed out in the LookML documentation (thanks Olivia from DCL for finding it!).

cc: @ernestoongaro (since you seem to be the most active maintainer 😅)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant