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

DATE inference for BigQuery is incorrect #49

Open
sqlrob opened this issue Jun 6, 2019 · 0 comments
Open

DATE inference for BigQuery is incorrect #49

sqlrob opened this issue Jun 6, 2019 · 0 comments

Comments

@sqlrob
Copy link

sqlrob commented Jun 6, 2019

Given an object such as

{
  dateField: "2019-03-04 12:13:14"
}

A BigQuery schema is generated that considers that a DATE. If you then attempt to insert into the table with that same object, the insert fails because BigQuery doesn't parse the field as a date

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

No branches or pull requests

1 participant