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 — Use compression in LoadJobConfig · Issue #1499 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Use compression in LoadJobConfig #1499

Copy link
Copy link
Closed
Closed
Use compression in LoadJobConfig#1499
Copy link
Assignees
meredithslota
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.

Description

@omerda123
omerda123
opened on Feb 15, 2023
Issue body actions

I updated bigquery python client from version 1.27.2 to 2.34.3.
I used SNAPPY compression for LoadJobs and after the upgrade I'm getting this error message:
Property compression is unknown for <class 'google.cloud.bigquery.job.load.LoadJobConfig'>
according to this doc: https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationLoad compression is supported.
Can I get some clarification here? There is any kind of compression? it's not longer supported? Didn't find any release notes / changelogs

Thanks!

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Feb 15, 2023
  2. skudrow-figure commented on Apr 9, 2023

    @skudrow-figure
    skudrow-figure
    on Apr 9, 2023
    More actions

    Had the same issue. Ended up not specifying the compression at all and it successfully loaded my json.gz file

  3. meredithslota commented on Jun 13, 2023

    @meredithslota
    meredithslota
    on Jun 13, 2023
    Contributor
    More actions

    The last change here was, I think, #361 which refactored but didn't remove compression support (and the previous paths are still supported, as far as I know though I haven't investigated it deeply yet). This was in November 2020, which would have roughly corresponded to v2.3.0 — and any future versions.

    SNAPPY compression is supported for Avro files only. Can you share an example of how you're using this?

    https://github.com/googleapis/python-bigquery/blob/main/google/cloud/bigquery/enums.py for reference.

  4. meredithslota
    self-assigned this
    on Jun 19, 2023
  5. meredithslota
    closed this as completedon Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @meredithslota
    meredithslota

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.

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.