[go: nahoru, domu]

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

BigQuery: Deprecate automatic schema conversion in load_table_from_dataframe() #9176

Merged
merged 1 commit into from
Sep 6, 2019

Conversation

plamut
Copy link
Contributor
@plamut plamut commented Sep 5, 2019

Closes #9042.

This PR adds a deprecation warning if a schema cannot be autodetected in full, and a fallback to to_parquet logic is needed.

How to test

Try loading data into a new table from a dataframe with at least one column whose dtype is "object" (e.g. a STRING column), and without providing an explicit schema in JobConfig. The load_table_from_dataframe() method should issue a (pending) deprecation warning.

@plamut plamut added the api: bigquery Issues related to the BigQuery API. label Sep 5, 2019
@plamut plamut requested a review from a team September 5, 2019 07:28
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 5, 2019
@plamut plamut merged commit 5c0ea2e into googleapis:master Sep 6, 2019
@plamut plamut deleted the iss-9042 branch September 6, 2019 19:45
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 11, 2019
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
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. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BigQuery: Deprecate automatic schema conversion in load_table_from_dataframe
3 participants