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

Invalid cast from INT64 to DATETIME with event_timestamp as datetime_key #17

Open
dusty-campanella-maxa opened this issue Oct 26, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@dusty-campanella-maxa
Copy link

Hi,

I encounter a Google API BadRequest Exception when I select the event_timestamp as the datetime_key in the tap_config.json, when running discovery command.

image

Screen Shot 2020-10-26 at 3 26 53 PM

Dusty

@daigotanaka daigotanaka added the duplicate This issue or pull request already exists label Oct 26, 2020
@daigotanaka
Copy link
Collaborator

I believe this the same issue as #10 It is filed as an enhancement request. The work around is to create a view in BigQuery that converts event_timestamp to datetime.

@nonanerz
Copy link

nonanerz commented Oct 5, 2022

There is my workaround CAST(TIMESTAMP_MICROS(1664982500569) as DATETIME)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants