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

Query paramters need to coerce native Python values #2799

Closed
tseaver opened this issue Dec 2, 2016 · 0 comments
Closed

Query paramters need to coerce native Python values #2799

tseaver opened this issue Dec 2, 2016 · 0 comments
Assignees
Labels
api: bigquery Issues related to the BigQuery API.

Comments

@tseaver
Copy link
Contributor

tseaver commented Dec 2, 2016

If the user passes in non-string values (e.g., for INT64, which must be tunnelled via strings because JS reasons, or TIMESTAMP, DATETIME, DATE), the parameter must coerce the value appropriately inside its to_api_repr() method.

h/t to @dwsupplee for the prod.

@tseaver tseaver added the api: bigquery Issues related to the BigQuery API. label Dec 2, 2016
@tseaver tseaver self-assigned this Dec 2, 2016
richkadel pushed a commit to richkadel/google-cloud-python that referenced this issue May 6, 2017
…pes.

Also, distingush parsing 'DATETIME' vs. 'TIMESTAMP' properly when
processing row data.

Closes googleapis#2799.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API.
Projects
None yet
Development

No branches or pull requests

1 participant