René's URL Explorer Experiment


Title: BigQuery: 'load_table_from_dataframe' raises OSError with STRUCT / RECORD columns. · Issue #9024 · googleapis/google-cloud-python · GitHub

Open Graph Title: BigQuery: 'load_table_from_dataframe' raises OSError with STRUCT / RECORD columns. · Issue #9024 · googleapis/google-cloud-python

X Title: BigQuery: 'load_table_from_dataframe' raises OSError with STRUCT / RECORD columns. · Issue #9024 · googleapis/google-cloud-python

Description: pyarrow-0.14.0 pandas '0.24.2' windows 10 Hi, I am tring to load dataframe to big query that looks like that uid_first agg_col 1001 [{'page_type': 1}, {'record_type': 1}, {'non_consectutive_home': 0}] the agg_col is list of dicts I also ...

Open Graph Description: pyarrow-0.14.0 pandas '0.24.2' windows 10 Hi, I am tring to load dataframe to big query that looks like that uid_first agg_col 1001 [{'page_type': 1}, {'record_type': 1}, {'non_consectutive_home': ...

X Description: pyarrow-0.14.0 pandas '0.24.2' windows 10 Hi, I am tring to load dataframe to big query that looks like that uid_first agg_col 1001 [{'page_type': 1}, {'record_type': 1}, {&...

Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/9024

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BigQuery: 'load_table_from_dataframe' raises OSError with STRUCT / RECORD columns.","articleBody":"pyarrow-0.14.0\r\npandas '0.24.2'\r\nwindows 10\r\nHi,\r\nI am tring to load dataframe to big query that looks like that\r\n\r\n```\r\nuid_first\tagg_col\r\n1001\t[{'page_type': 1}, {'record_type': 1}, {'non_consectutive_home': 0}]\r\n```\r\nthe agg_col is list of dicts\r\nI also tried dict\r\n\r\nSchema config:\r\n```\r\nschema = [\r\n          bigquery.SchemaField(\"uid_first\",\"STRING\",mode=\"NULLABLE\"),\r\n          bigquery.SchemaField(\"agg_col\",\"RECORD\",mode=\"NULLABLE\",fields=[\r\n                  bigquery.SchemaField(\"page_type\", \"INTEGER\", mode=\"NULLABLE\"),\r\n                  bigquery.SchemaField(\"record_type\", \"INTEGER\", mode=\"NULLABLE\"),\r\n                  bigquery.SchemaField(\"non_consectutive_home\", \"INTEGER\", mode=\"NULLABLE\")])]\r\n\r\n```\r\nload command\r\n```\r\ndataset_ref = client.dataset('dataset')\r\ntable_ref = dataset_ref.table('table')\r\ntable = bigquery.Table(table_ref,schema=schema)\r\ntable = client.load_table_from_dataframe(dff, table).result()\r\n```\r\nThe error message\r\n\r\n```\r\nTraceback (most recent call last):\r\n\r\n  File \"\u003cipython-input-167-60a73e366976>\", line 4, in \u003cmodule>\r\n    table = client.load_table_from_dataframe(dff, table).result()\r\n\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\p37\\lib\\site-packages\\google\\cloud\\bigquery\\client.py\", line 1546, in load_table_from_dataframe\r\n    os.remove(tmppath)\r\n\r\nFileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\\\Users\\\\ADMINI~1\\\\AppData\\\\Local\\\\Temp\\\\tmpcxotr6mb_job_5c94b06f.parquet'\r\n```\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/dabasmoti","@type":"Person","name":"dabasmoti"},"datePublished":"2019-08-13T14:59:47Z","url":"https://github.com/googleapis/google-cloud-python/issues/9024"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0d10ade3-6bd6-93e7-29ea-1e078b1c7269
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEB00:ADCD1:686C15:89BC60:6AFE6E16
html-safe-nonce4a8dceed05f93beaf58b044fa5780d7f2747485db1ab19e5d87449733a4c7fc3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjAwOkFEQ0QxOjY4NkMxNTo4OUJDNjA6NkFGRTZFMTYiLCJ2aXNpdG9yX2lkIjoiODE4NDIyNTIzOTkxNjI0NDUwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca6d0c9b4c26a12e17bc164f3ec3844d4e7ad531422758f75701e7891cd649c2a
hovercard-subject-tagissue:480207067
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/9024/issue_layout
twitter:imagehttps://opengraph.githubassets.com/29f44fbca1c48d7852185226b4e7314d120be735498a8af031395c2d133c1dc9/googleapis/google-cloud-python/issues/9024
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/29f44fbca1c48d7852185226b4e7314d120be735498a8af031395c2d133c1dc9/googleapis/google-cloud-python/issues/9024
og:image:altpyarrow-0.14.0 pandas '0.24.2' windows 10 Hi, I am tring to load dataframe to big query that looks like that uid_first agg_col 1001 [{'page_type': 1}, {'record_type': 1}, {'non_consectutive_home': ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedabasmoti
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/9024#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F9024
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F9024
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/9024
Reloadhttps://github.com/googleapis/google-cloud-python/issues/9024
Reloadhttps://github.com/googleapis/google-cloud-python/issues/9024
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues450 (450)https://github.com/googleapis/google-cloud-python/issues
Pull requests200 (200)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/9024
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/9024
#9053https://github.com/googleapis/google-cloud-python/pull/9053
BigQuery: 'load_table_from_dataframe' raises OSError with STRUCT / RECORD columns.https://github.com/googleapis/google-cloud-python/issues/9024#top
#9053https://github.com/googleapis/google-cloud-python/pull/9053
https://github.com/plamut
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
type: questionRequest for information or clarification. Not an issue.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
https://github.com/dabasmoti
dabasmotihttps://github.com/dabasmoti
on Aug 13, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issue-480207067
tseaverhttps://github.com/tseaver
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
type: questionRequest for information or clarification. Not an issue.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
on Aug 13, 2019https://github.com/googleapis/google-cloud-python/issues/9024#event-2554305412
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Aug 13, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-520955743
@dabasmotihttps://github.com/dabasmoti
tseaverhttps://github.com/tseaver
on Aug 13, 2019https://github.com/googleapis/google-cloud-python/issues/9024#event-2554337538
https://github.com/dabasmoti
dabasmotihttps://github.com/dabasmoti
on Aug 13, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-520957698
@tseaverhttps://github.com/tseaver
https://github.com/vivie765
vivie765https://github.com/vivie765
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521381244
https://github.com/tswast
tswasthttps://github.com/tswast
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521404950
https://github.com/tswast
tswasthttps://github.com/tswast
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521405208
https://github.com/dabasmoti
dabasmotihttps://github.com/dabasmoti
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521407061
@tswasthttps://github.com/tswast
https://github.com/dabasmoti
dabasmotihttps://github.com/dabasmoti
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521407644
https://github.com/dabasmoti
dabasmotihttps://github.com/dabasmoti
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521408186
https://github.com/tswast
tswasthttps://github.com/tswast
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521409830
https://github.com/googleapis/google-cloud-python/issues/8191https://github.com/googleapis/google-cloud-python/issues/8191
https://github.com/googleapis/google-cloud-python/issues/8544https://github.com/googleapis/google-cloud-python/issues/8544
@plamuthttps://github.com/plamut
tswasthttps://github.com/tswast
plamuthttps://github.com/plamut
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#event-2557852363
tswasthttps://github.com/tswast
on Aug 14, 2019https://github.com/googleapis/google-cloud-python/issues/9024#event-2557854000
https://github.com/plamut
plamuthttps://github.com/plamut
on Aug 15, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521716478
active PRhttps://github.com/apache/arrow/pull/4066
@dabasmotihttps://github.com/dabasmoti
https://github.com/dabasmoti
dabasmotihttps://github.com/dabasmoti
on Aug 15, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521720388
@plamuthttps://github.com/plamut
https://github.com/plamut
plamuthttps://github.com/plamut
on Aug 15, 2019https://github.com/googleapis/google-cloud-python/issues/9024#issuecomment-521721319
@dabasmotihttps://github.com/dabasmoti
plamuthttps://github.com/plamut
completedhttps://github.com/googleapis/google-cloud-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#9053https://github.com/googleapis/google-cloud-python/pull/9053
on Aug 21, 2019https://github.com/googleapis/google-cloud-python/issues/9024#event-2573705841
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/google-cloud-python/issues/9024
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/9024
plamuthttps://github.com/plamut
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
type: questionRequest for information or clarification. Not an issue.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.