Title: BigQuery: Deprecate automatic schema conversion in `load_table_from_dataframe` · Issue #9042 · googleapis/google-cloud-python · GitHub
Open Graph Title: BigQuery: Deprecate automatic schema conversion in `load_table_from_dataframe` · Issue #9042 · googleapis/google-cloud-python
X Title: BigQuery: Deprecate automatic schema conversion in `load_table_from_dataframe` · Issue #9042 · googleapis/google-cloud-python
Description: After discussion around #9024, I'm coming to realize that there are a lot of inconsistencies with the pandas DataFrame serialization when we have to autodetect the schema. I propose that we warn when we are given a DataFrame but can't de...
Open Graph Description: After discussion around #9024, I'm coming to realize that there are a lot of inconsistencies with the pandas DataFrame serialization when we have to autodetect the schema. I propose that we warn wh...
X Description: After discussion around #9024, I'm coming to realize that there are a lot of inconsistencies with the pandas DataFrame serialization when we have to autodetect the schema. I propose that we war...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/9042
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BigQuery: Deprecate automatic schema conversion in `load_table_from_dataframe`","articleBody":"After discussion around https://github.com/googleapis/google-cloud-python/issues/9024, I'm coming to realize that there are a lot of inconsistencies with the pandas DataFrame serialization when we have to autodetect the schema. I propose that we warn when we are given a DataFrame but can't determine the correct schema.\r\n\r\nI realize this will be a step backwards in terms of usability. I think the following feature requests are needed to be prioritized if we proceed with this deprecation:\r\n\r\n- [x] https://github.com/googleapis/google-cloud-python/issues/8140 Allow partial schemas, so that someone can just override certain `object` dtype columns, for example.\r\n- [x] https://github.com/googleapis/google-cloud-python/issues/8142 Get table schema if not supplied. This covers the case when appending rows to an existing table.\r\n- [x] https://github.com/googleapis/google-cloud-python/issues/9044 Generate a (partial) schema for known dtypes, and merge with the provided schema.\r\n- [x] https://github.com/googleapis/google-cloud-python/issues/5572#issuecomment-524012299 Add index(es) to serialized file if specified in `job_config.schema`.","author":{"url":"https://github.com/tswast","@type":"Person","name":"tswast"},"datePublished":"2019-08-16T17:50:14Z","url":"https://github.com/googleapis/google-cloud-python/issues/9042"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:29046d69-6208-37c9-738e-786f9a277b2d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD62:1DD22A:24589D:313B1E:6AFE1942 |
| html-safe-nonce | 5669655fc33c697128e881da3f2a0b7af5af64ba31ed8ebfed7c75ea0577ce24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDYyOjFERDIyQToyNDU4OUQ6MzEzQjFFOjZBRkUxOTQyIiwidmlzaXRvcl9pZCI6IjgwODEwNDAyNDQwNjI2ODk2MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d9c8bf76c807d6711231a0fe4ab56d27a79c6edb7b47fb5f576c4d6110e3c9a2 |
| hovercard-subject-tag | issue:481717249 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/9042/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce8e7edf788e7b0e679b9bd93efc55bfeabcae69b1c9252799324e36cd423e46/googleapis/google-cloud-python/issues/9042 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce8e7edf788e7b0e679b9bd93efc55bfeabcae69b1c9252799324e36cd423e46/googleapis/google-cloud-python/issues/9042 |
| og:image:alt | After discussion around #9024, I'm coming to realize that there are a lot of inconsistencies with the pandas DataFrame serialization when we have to autodetect the schema. I propose that we warn wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tswast |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fef3993a71fa20f7be8e167132fbf9619bc66e12 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width