Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support timezone picker on ga_session.visitStart #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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