Title: BigQuery: `load_table_from_dataframe` automatically generate schema for known dtypes · Issue #9044 · googleapis/google-cloud-python · GitHub
Open Graph Title: BigQuery: `load_table_from_dataframe` automatically generate schema for known dtypes · Issue #9044 · googleapis/google-cloud-python
X Title: BigQuery: `load_table_from_dataframe` automatically generate schema for known dtypes · Issue #9044 · googleapis/google-cloud-python
Description: Is your feature request related to a problem? Please describe. I want to upload a DataFrame without specifying a schema. My DataFrame has well defined dtypes for all columns, so it should be safe to serialize the DataFrame without worryi...
Open Graph Description: Is your feature request related to a problem? Please describe. I want to upload a DataFrame without specifying a schema. My DataFrame has well defined dtypes for all columns, so it should be safe t...
X Description: Is your feature request related to a problem? Please describe. I want to upload a DataFrame without specifying a schema. My DataFrame has well defined dtypes for all columns, so it should be safe t...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/9044
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BigQuery: `load_table_from_dataframe` automatically generate schema for known dtypes","articleBody":" **Is your feature request related to a problem? Please describe.**\r\n\r\nI want to upload a DataFrame without specifying a schema. My DataFrame has well defined dtypes for all columns, so it should be safe to serialize the DataFrame without worrying about cases such as ARRAY / STRUCT columns.\r\n\r\nWith https://github.com/googleapis/google-cloud-python/issues/9042, I may get a warning in this case, though.\r\n\r\n **Describe the solution you'd like**\r\n\r\nI'd like BigQuery to automatically generate a schema based on the dtypes in the DataFrame. Ideally, this generated schema could be merged with the partial schema at #8140.\r\n\r\nIf the number of columns for the generated schema + partial schema matches that of the DataFrame (meaning, we handled all the `object` columns with an explicit schema), there should be no warning message printed.\r\n\r\n **Describe alternatives you've considered**\r\n\r\n* Status quo: let pandas/pyarrow/fastparquet figure out what to do.\r\n* Introspect the actual objects in the object column to guess the correct type. (Slow!)\r\n\r\n/CC @plamut \r\n","author":{"url":"https://github.com/tswast","@type":"Person","name":"tswast"},"datePublished":"2019-08-16T17:55:54Z","url":"https://github.com/googleapis/google-cloud-python/issues/9044"}
| 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:2529db82-6c8d-b41a-031c-1309ab81bb3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA46:3F9E0A:1494C1:1CBF19:6AFE1611 |
| html-safe-nonce | df42e1a7e23ff07eeb5b2c160a625988b2ec6b15e8491e6526ada7d46b951b39 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTQ2OjNGOUUwQToxNDk0QzE6MUNCRjE5OjZBRkUxNjExIiwidmlzaXRvcl9pZCI6Ijg2NTkzNTgzOTc5MjI5NDA0MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a7c578c6f5bd8fee4a884ddae56e48d99dbe0e79c92b57aa13de84b79324bbd0 |
| hovercard-subject-tag | issue:481719273 |
| 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/9044/issue_layout |
| twitter:image | https://opengraph.githubassets.com/61ecd5d46816145866cbd5c04c7c3d98f45912f7202f8124498c8b175ae0c3ce/googleapis/google-cloud-python/issues/9044 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/61ecd5d46816145866cbd5c04c7c3d98f45912f7202f8124498c8b175ae0c3ce/googleapis/google-cloud-python/issues/9044 |
| og:image:alt | Is your feature request related to a problem? Please describe. I want to upload a DataFrame without specifying a schema. My DataFrame has well defined dtypes for all columns, so it should be safe t... |
| 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 | 3cd8a1d79ccbf9aecac62781f79072482a49047fb982b8c9e2ad4aca8bf6a9af |
| 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 | 05539640a34afe6142a519483d78ddd766a1304a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width