René's URL Explorer Experiment


Title: Schema conflict when storing dataframes with datetime objects using load_table_from_dataframe() · Issue #15743 · googleapis/google-cloud-python · GitHub

Open Graph Title: Schema conflict when storing dataframes with datetime objects using load_table_from_dataframe() · Issue #15743 · googleapis/google-cloud-python

X Title: Schema conflict when storing dataframes with datetime objects using load_table_from_dataframe() · Issue #15743 · googleapis/google-cloud-python

Description: The output Traceback (most recent call last): File "/tmp/mwe.py", line 14, in print(job.result()) File "/home/tatome/anaconda3/envs/default_env/lib/python3.6/site-packages/google/cloud/bigquery/job.py", line 688, in result retur...

Open Graph Description: The output Traceback (most recent call last): File "/tmp/mwe.py", line 14, in print(job.result()) File "/home/tatome/anaconda3/envs/default_env/lib/python3.6/site-packages/google/cloud/big...

X Description: The output Traceback (most recent call last): File "/tmp/mwe.py", line 14, in <module> print(job.result()) File "/home/tatome/anaconda3/envs/default_env/lib/python3.6/site-pack...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Schema conflict when storing dataframes with datetime objects using load_table_from_dataframe()","articleBody":"The output\r\n\r\n    Traceback (most recent call last):\r\n      File \"/tmp/mwe.py\", line 14, in \u003cmodule>\r\n        print(job.result())\r\n      File \"/home/tatome/anaconda3/envs/default_env/lib/python3.6/site-packages/google/cloud/bigquery/job.py\", line 688, in result\r\n        return super(_AsyncJob, self).result(timeout=timeout)\r\n      File \"/home/tatome/anaconda3/envs/default_env/lib/python3.6/site-packages/google/api_core/future/polling.py\", line 120, in result\r\n        raise self._exception\r\n    google.api_core.exceptions.BadRequest: 400 Provided Schema does not match Table [project+dataset].test. Field test_column has changed type from DATETIME to TIMESTAMP.\r\n\r\nis produced by the following code:\r\n\r\n    import pandas as pd\r\n    from google.cloud.bigquery import Client\r\n    client = Client(project='[project]')\r\n    table_name = 'test'\r\n    job = client.query(f'CREATE TABLE [dataset].{table_name} ( idx INT64, test_column DATETIME )')\r\n    job.result()\r\n    df = pd.DataFrame({'idx' : [0,1], 'test_column' : ['2018-12-24', '2019-01-01']})\r\n    df['test_column'] = pd.to_datetime(df['test_column']).values.astype('datetime64[ms]')\r\n    dataset_ref = client.dataset('[dataset]')\r\n    table_ref = dataset_ref.table(table_name)\r\n    df = df.set_index('idx')\r\n    job = client.load_table_from_dataframe(df, table_ref, location='EU')\r\n    print(job.result())","author":{"url":"https://github.com/tatome","@type":"Person","name":"tatome"},"datePublished":"2018-11-16T20:13:48Z","url":"https://github.com/googleapis/google-cloud-python/issues/15743"}

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:13abd910-0386-0516-6677-22ed291bec05
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB822:295ED5:298814:380D86:6AFE1A65
html-safe-nonce5d539c522987b90f12af19b477a5cf07b4dc7b9b3ff65e74d62209ed9289d382
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODIyOjI5NUVENToyOTg4MTQ6MzgwRDg2OjZBRkUxQTY1IiwidmlzaXRvcl9pZCI6IjYzMjU4NDYyMTcyNTA5NzAyMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7fbe84b1ef5a6f1333eb757d907dff9b8b32a5c205866fc994b28584d7a1619f
hovercard-subject-tagissue:4011493949
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/15743/issue_layout
twitter:imagehttps://opengraph.githubassets.com/562b2f77e5a0240c84ae1a53a374383b5752e5e7ef7b449389cb61e889c9a610/googleapis/google-cloud-python/issues/15743
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/562b2f77e5a0240c84ae1a53a374383b5752e5e7ef7b449389cb61e889c9a610/googleapis/google-cloud-python/issues/15743
og:image:altThe output Traceback (most recent call last): File "/tmp/mwe.py", line 14, in print(job.result()) File "/home/tatome/anaconda3/envs/default_env/lib/python3.6/site-packages/google/cloud/big...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametatome
hostnamegithub.com
expected-hostnamegithub.com
Noned0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9
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
releasefef3993a71fa20f7be8e167132fbf9619bc66e12
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/15743#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F15743
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%2F15743
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/15743
Reloadhttps://github.com/googleapis/google-cloud-python/issues/15743
Reloadhttps://github.com/googleapis/google-cloud-python/issues/15743
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues449 (449)https://github.com/googleapis/google-cloud-python/issues
Pull requests199 (199)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/15743
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/15743
Schema conflict when storing dataframes with datetime objects using load_table_from_dataframe()https://github.com/googleapis/google-cloud-python/issues/15743#top
https://github.com/vchudnov-g
https://github.com/chalmerlowe
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
priority: p3Desirable enhancement or fix. May not be included in next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p3%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/tatome
tatomehttps://github.com/tatome
on Nov 16, 2018https://github.com/googleapis/google-cloud-python/issues/15743#issue-4011493949
Nexthttps://github.com/googleapis/google-cloud-python/issues/15743?timeline_page=1
tseaverhttps://github.com/tseaver
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
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
on Nov 16, 2018https://github.com/googleapis/google-cloud-python/issues/15743#event-23194489936
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Dec 7, 2018https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641588
@tatomehttps://github.com/tatome
tseaverhttps://github.com/tseaver
status: investigatingThe issue is under investigation, which is determined to be non-trivial.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22status%3A%20investigating%22
status: awaiting informationhttps://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22status%3A%20awaiting%20information%22
status: investigatingThe issue is under investigation, which is determined to be non-trivial.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22status%3A%20investigating%22
on Dec 7, 2018https://github.com/googleapis/google-cloud-python/issues/15743#event-23194490076
https://github.com/tiagobevilaqua
tiagobevilaquahttps://github.com/tiagobevilaqua
on Mar 12, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641615
@tseaverhttps://github.com/tseaver
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Mar 12, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641644
@tiagobevilaquahttps://github.com/tiagobevilaqua
https://github.com/tiagobevilaqua
tiagobevilaquahttps://github.com/tiagobevilaqua
on Mar 13, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641661
@tseaverhttps://github.com/tseaver
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Mar 13, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641680
@tiagobevilaquahttps://github.com/tiagobevilaqua
canonical formats for DATETIMEhttps://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#canonical-format_1
https://github.com/tiagobevilaqua
tiagobevilaquahttps://github.com/tiagobevilaqua
on Mar 14, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641707
@tseaverhttps://github.com/tseaver
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Mar 14, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641731
@tiagobevilaquahttps://github.com/tiagobevilaqua
@tswasthttps://github.com/tswast
https://github.com/tswast
tswasthttps://github.com/tswast
on Mar 15, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641743
https://github.com/tswast
tswasthttps://github.com/tswast
on Mar 15, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641780
https://github.com/apache/parquet-format/blob/master/LogicalTypes.mdhttps://github.com/apache/parquet-format/blob/master/LogicalTypes.md
https://jira.apache.org/jira/browse/PARQUET-1545https://jira.apache.org/jira/browse/PARQUET-1545
https://github.com/tiagobevilaqua
tiagobevilaquahttps://github.com/tiagobevilaqua
on Mar 15, 2019https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984641824
partheahttps://github.com/parthea
triage meI really want to be triaged.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22triage%20me%22
on Jan 12, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23194490327
partheahttps://github.com/parthea
googleapis/python-bigqueryhttps://github.com/googleapis/python-bigquery
on Jan 12, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23194491405
https://github.com/parthea
partheahttps://github.com/parthea
on Jan 12, 2026https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984642169
partheahttps://github.com/parthea
triage meI really want to be triaged.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22triage%20me%22
on Jan 12, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23194490486
product-auto-labelhttps://github.com/apps/product-auto-label
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
on Jan 12, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23194491435
partheahttps://github.com/parthea
googleapis/google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
on Jan 12, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23194491472
blunderbuss-gcfhttps://github.com/apps/blunderbuss-gcf
vchudnov-ghttps://github.com/vchudnov-g
on Jan 12, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23194491506
https://github.com/chalmerlowe
chalmerlowehttps://github.com/chalmerlowe
on Mar 2, 2026https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-3984642184
chalmerlowehttps://github.com/chalmerlowe
googleapis/python-bigqueryhttps://github.com/googleapis/python-bigquery
on Mar 2, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23194495626
daniel-sanchehttps://github.com/daniel-sanche
chalmerlowehttps://github.com/chalmerlowe
on Mar 7, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23348162314
daniel-sanchehttps://github.com/daniel-sanche
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
priority: p3Desirable enhancement or fix. May not be included in next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p3%22
triage meI really want to be triaged.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22triage%20me%22
on Mar 7, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-23348163246
https://github.com/parthea
partheahttps://github.com/parthea
on Oct 15, 2026https://github.com/googleapis/google-cloud-python/issues/15743#issuecomment-6197310629
#15743 (comment)https://github.com/googleapis/google-cloud-python/issues/15743#issue-4011493949
partheahttps://github.com/parthea
completedhttps://github.com/googleapis/google-cloud-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 15, 2026https://github.com/googleapis/google-cloud-python/issues/15743#event-33355348347
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/google-cloud-python/issues/15743
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/15743
chalmerlowehttps://github.com/chalmerlowe
vchudnov-ghttps://github.com/vchudnov-g
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
priority: p3Desirable enhancement or fix. May not be included in next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p3%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%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.