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 — job.py in bigquery does unnecessary client-side validation of data formats · Issue #3725 · googleapis/google-cloud-python

job.py in bigquery does unnecessary client-side validation of data formats #3725

New issue
Copy link
New issue
Copy link
Closed
Closed
job.py in bigquery does unnecessary client-side validation of data formats#3725
Copy link
Assignees
lukesneeringer
Labels
api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@jtigani
jtigani
opened on Aug 4, 2017
Issue body actions

The BigQuery engineering team may decide to expand the allowed formats for import and export, but the allowed values are hard-coded client side. Imports are limited to CSV, DATASTORE_BACKUP, NEWLINE_DELIMITED_JSON, AVRO, for example.

This means that if the BigQuery starts to allow other formats, users will be unable to use those new formats without updating their client. Moreover, there is no way for BigQuery to roll out new formats to a whitelisted set of users.
(note this is not mere idle speculation and is currently impacting real users alpha testing a new format)

See code here:
https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/bigquery/google/cloud/bigquery/job.py#L116
and
https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/bigquery/google/cloud/bigquery/job.py#L139

Activity

  1. dhermes
    added
    api: bigqueryIssues related to the BigQuery API.
    on Aug 4, 2017
  2. lukesneeringer
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    status: acknowledged
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Aug 7, 2017
  3. lukesneeringer
    added a commit that references this issue on Aug 7, 2017

    BigQuery: Remove client-side enum validation.

    This issue will close once commit 5e83d14 is merged into the 'master' branch.
    5e83d14
  4. lukesneeringer
    added
    status: in review
    and removed
    status: acknowledged
    on Aug 7, 2017
  5. lukesneeringer
    self-assigned this
    on Aug 7, 2017
  6. lukesneeringer
    closed this as completedin #3735on Aug 7, 2017
  7. dsouzarc commented on Aug 7, 2017

    @dsouzarc
    dsouzarc
    on Aug 7, 2017
    More actions

    @jtigani @lukesneeringer Thank you both for your help and quick response :)

  8. parthea
    added a commit that references this issue on Sep 22, 2023

    chore: move samples from python-docs-sample (#33)

    69c4425
  9. parthea
    added 2 commits that reference this issue on Oct 21, 2023

    chore(deps): update dependency google-cloud-pubsub to v1.4.3 [(#3725)](…

    2dceb8f

    chore(deps): update dependency google-cloud-pubsub to v1.4.3 [(#3725)](…

    db3d22d
  10. parthea
    added 2 commits that reference this issue on Mar 2, 2026

    samples: add samples from pubsub/cloud-client (#134)

    8c90f22

    chore(deps): update dependency google-cloud-pubsub to v1.4.3 [(#3725)](…

    8f12e81
  11. parthea
    added a commit that references this issue on Mar 9, 2026

    samples: add cloud client samples from python-docs-samples (#626)

    2b99c9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lukesneeringer
    lukesneeringer

Labels

api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

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.