GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Revisit the method load_table_from_json() · Issue #15720 · googleapis/google-cloud-python

Revisit the method load_table_from_json() #15720

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Revisit the method load_table_from_json()#15720
Copy link
Labels
api: bigqueryIssues related to the BigQuery API.priority: p3Desirable enhancement or fix. May not be included in next release.type: cleanupAn internal cleanup or hygiene concern.

Description

@chalmerlowe
chalmerlowe
opened on Aug 17, 2023
Issue body actions

The method load_table_from_json() shows up in a number of Issues and PRs as a source of problems OR ambiguity.

Examine this code and determine whether it (and the similar methods load_table_from_*) should be refactored to remove issues and concerns and/or improve usability.

Some of the issues/PRs where load_table_from_json() or similar methods are mentioned include:

ISSUES:

Schema and Autodetect

  • load_table_from_dataframe should honor default project and dataset. python-bigquery#843
  • Autodetect for BQ happening automatically even with schema defined.  python-bigquery#847
  • Inability to cast int to string when appending data to table using load_table_from_json python-bigquery#906
  • load_table_from_json interpolates string as int python-bigquery#1228
  • BigQuery seems to automatically convert STRING to BYTES if STRING > 186 bytes python-bigquery#1563
  • ALLOW_FIELD_ADDITION not working #15734
  • Allow load_table_from_dataframe to Ignore Extra Schema Fields python-bigquery#1812

Retries

  • feat: add job_retry argument to load_table_from_uri #15738
  • Remove num_retries parameter from load_table_from_*() methods #15735

Null Values

  • load_table_from_dataframe does not error out when nan in a required column - Million dollar bug python-bigquery#1692
  • bigquery load_table_from_dataframe from string type will show null values python-bigquery#1737

Default Value

  • Default values not initialized when job loading data with the Python API #15727

Misc

  • some emoji will become wrong character stored in bigquery while using load_table_from_json python-bigquery#864
  • disambiguate missing policy tags from explicitly unset policy tags python-bigquery#981
  • Unable to load table from dataframe with overlapping index/column name #15726
  • Provide json.dumps kwargs to load_table_from_json #15725
  • Client.load_table_from_dataframe() sometimes chooses invalid column type python-bigquery#1650
  • Support pyarrow.large_* as column type in dataframe upload/ download #15716
  • load_table_toDataframe breaks with Arrow list fields when the list is backed by a ChunkedArray. python-bigquery#1808

PRs:

googleapis/python-bigquery#280
googleapis/python-bigquery#865
googleapis/python-bigquery#868
googleapis/python-bigquery#873
googleapis/python-bigquery#1097
googleapis/python-bigquery#1526
googleapis/python-bigquery#1634
googleapis/python-bigquery#1698

Reacted by Goldener Stefan, Lingqing Gan and d-com-uforce

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the BigQuery API.
    on Aug 17, 2023
  2. Linchin
    self-assigned this
    on Apr 15, 2024
  3. Linchin
    added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    type: cleanupAn internal cleanup or hygiene concern.
    on Apr 15, 2024
  4. parthea commented on Jan 12, 2026

    @parthea
    parthea
    on Jan 12, 2026
    Contributor
    More actions

    Transferring to google-cloud-python as the code for python-bigquery will be migrated there in 1-3 weeks.

  5. parthea
    transferred this issue fromgoogleapis/python-bigqueryon Jan 12, 2026
  6. parthea commented on Jan 12, 2026

    @parthea
    parthea
    on Jan 12, 2026
    Contributor
    More actions

    Transferring this issue back to python-bigquery.

  7. parthea
    transferred this issue fromgoogleapis/google-cloud-pythonon Jan 12, 2026
  8. chalmerlowe commented on Mar 2, 2026

    @chalmerlowe
    chalmerlowe
    on Mar 2, 2026
    ContributorAuthor
    More actions

    This issue was moved from the following repo as part of the monorepo migration: googleapis/python-bigquery

  9. chalmerlowe
    added
    api: bigqueryIssues related to the BigQuery API.
    type: cleanupAn internal cleanup or hygiene concern.
    priority: p3Desirable enhancement or fix. May not be included in next release.
    on Mar 2, 2026
  10. chalmerlowe
    transferred this issue fromgoogleapis/python-bigqueryon Mar 2, 2026
  11. Linchin
    removed their assignment
    on Mar 27, 2026
  12. daniel-sanche commented on May 27, 2026

    @daniel-sanche
    daniel-sanche
    on May 27, 2026
    Contributor
    More actions

    This issue is being closed as part of a bulk review (Filter #1). Please reopen if you believe this is still relevant and requires action.

  13. daniel-sanche
    closed this as not plannedon May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the BigQuery API.priority: p3Desirable enhancement or fix. May not be included in next release.type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.