8000 Comparing v3.32.0...v3.33.0 · googleapis/python-bigquery · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-bigquery
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.32.0
Choose a base ref
...
head repository: googleapis/python-bigquery
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.33.0
Choose a head ref
  • 13 commits
  • 35 files changed
  • 11 contributors

Commits on May 12, 2025

  1. chore(deps): update dependency db-dtypes to v1.4.3 (#2178)

    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    renovate-bot and Linchin authored May 12, 2025
    Configuration menu
    Copy the full SHA
    156e518 View commit details
    Browse the repository at this point in the history
  2. feat: add ability to set autodetect_schema query param in update_table (

    #2171)
    
    * Add ability to set autodetect_schema query_param
    
    * fixup! Add ability to set autodetect_schema query_param
    
    * fixup! Add ability to set autodetect_schema query_param
    
    * fixup! Add ability to set autodetect_schema query_param
    
    ---------
    
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    TheNeuralBit and chalmerlowe authored May 12, 2025
    Configuration menu
    Copy the full SHA
    57f940d View commit details
    Browse the repository at this point in the history

Commits on May 13, 2025

  1. chore(python): remove docs from templates (#2164)

    * chore(python): remove docs from templates
    
    Source-Link: googleapis/synthtool@3fca64a
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:3b3a31be60853477bc39ed8d9bac162cac3ba083724cecaad54eb81d4e4dae9c
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * remove replacement in owlbot.py
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    4 people authored May 13, 2025
    Configuration menu
    Copy the full SHA
    2d173a5 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2025

  1. fix: ensure AccessEntry equality and repr uses the correct `entity_ty…

    …pe` (#2182)
    
    * fix: ensure AccessEntry equality and repr uses the correct `entity_type`
    
    * add a test for access_entries
    tswast authored May 14, 2025
    Configuration menu
    Copy the full SHA
    0217637 View commit details
    Browse the repository at this point in the history
  2. feat: Add dtype parameters to to_geodataframe functions (#2176)

    * feat: Add dtype parameters to to_geodataframe
    
    This change adds support for `bool_dtype`, `int_dtype`, `float_dtype`, and `string_dtype` parameters to the `to_geodataframe` method in `RowIterator` and `QueryJob`.
    
    These parameters allow you to specify the desired pandas dtypes for boolean, integer, float, and string columns when converting BigQuery results to GeoDataFrames.
    
    The changes include:
    - Updating `RowIterator.to_geodataframe` to accept and pass these dtype parameters to the underlying `to_dataframe` method.
    - Updating `QueryJob.to_geodataframe` to accept and pass these dtype parameters to the underlying `RowIterator.to_geodataframe` method.
    - Adding unit tests to verify the correct handling of these parameters.
    
    * updates to several tests re geopandas as well as imports
    
    * updates to enum import
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Update pyproject.toml
    
    Co-authored-by: Tim Sweña (Swast) <swast@google.com>
    
    * Update testing/constraints-3.9.txt
    
    Co-authored-by: Tim Sweña (Swast) <swast@google.com>
    
    ---------
    
    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Tim Sweña (Swast) <swast@google.com>
    4 people authored May 14, 2025
    Configuration menu
    Copy the full SHA
    ebfd0a8 View commit details
    Browse the repository at this point in the history
  3. chore: Fix two types of warnings in unit tests (#2183)

    * Fix two types of warnings in unit tests
    
    This commit addresses two warnings that appear when running unit tests:
    
    1.  `PytestRemovedIn9Warning` in `tests/unit/test_opentelemetry_tracing.py`:
        Removed a `@pytest.mark.skipif` decorator from a fixture. The skip condition
        is already present on the test methods using the fixture.
    
    2.  `FutureWarning` in `tests/unit/test_client.py`:
        Updated calls to `client.query()` to include `job_retry=None` when `job_id`
        is also specified. This is to avoid ambiguity as BigQuery cannot retry a
        failed job with the exact same ID.
    
    * Update tests/unit/test_client.py
    
    * Update tests/unit/test_client.py
    
    * Update linting
    
    * adds more examples of functions where job_retry is needed
    
    ---------
    
    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
    chalmerlowe and google-labs-jules[bot] authored May 14, 2025
    Configuration menu
    Copy the full SHA
    2140a51 View commit details
    Browse the repository at this point in the history
  4. chore(deps): update all dependencies to v3.32.0 (#2179)

    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    renovate-bot and chalmerlowe authored May 14, 2025
    Configuration menu
    Copy the full SHA
    110ad60 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2025

  1. refactor: Fix DeprecationWarnings for datetime methods in job tests (#…

    …2185)
    
    * Fix DeprecationWarnings for datetime methods in job tests
    
    Replaced calls to deprecated `datetime.datetime.utcnow()` with
    `datetime.datetime.now(datetime.UTC)` in `tests/unit/job/test_base.py`.
    
    Replaced calls to deprecated `datetime.datetime.utcfromtimestamp()` with
    `datetime.datetime.fromtimestamp(timestamp, datetime.UTC)` in
    `tests/unit/job/helpers.py`.
    
    These changes address the specific warnings identified in the issue
    for these two files.
    
    * Update tests/unit/job/test_base.py
    
    * Update tests/unit/job/test_base.py
    
    * Updates datetime code related to UTC
    
    ---------
    
    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
    chalmerlowe and google-labs-jules[bot] authored May 15, 2025
    Configuration menu
    Copy the full SHA
    5805066 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2025

  1. fix: ensure SchemaField.field_dtype returns a string (#2188)

    * fix: ensure SchemaField.field_dtype returns a string
    
    * fix cover tests
    
    * fix unit 3.9
    chelsea-lin authored May 19, 2025
    Configuration menu
    Copy the full SHA
    7ec2848 View commit details
    Browse the repository at this point in the history
  2. feat: support job reservation (#2186)

    * feat: support job reservation
    
    * Update google/cloud/bigquery/job/base.py
    
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    
    ---------
    
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    Linchin and chalmerlowe authored May 19, 2025
    Configuration menu
    Copy the full SHA
    cb646ce View commit details
    Browse the repository at this point in the history
  3. ci: Update to the CI/CD pipeline via github workflow to help cut turn…

    …-around time (#2189)
    
    Update to the CI/CD pipeline via github workflow to help cut turn-around time.
    
    * added github workflow
    * changed the number of pytest-xdist workers from "auto" to "8" (based on local tests and discussion with Tim, choosing auto sometimes takes longer to run than choosing a smaller number. I suspect this is partly because for small or short tests the overhead needed to setup a worker exceeds the time savings of having extra workers).
    * modified numerous tests to explicitly include a project path to avoid an attempt to find the project by making an external call via the pydata-google-auth workflow (which opens an input and waits for response from the user that never comes).
    chalmerlowe authored May 19, 2025
    Configuration menu
    Copy the full SHA
    bf58ca5 View commit details
    Browse the repository at this point in the history
  4. Revert "fix: table iterator should not use bqstorage when page_size i…

    …s not None (#2154)" (#2191)
    
    This reverts commit e89a707.
    chelsea-lin authored May 19, 2025
    Configuration menu
    Copy the full SHA
    06ee3df View commit details
    Browse the repository at this point in the history
  5. chore(main): release 3.33.0 (#2180)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    release-please[bot] and Linchin authored May 19, 2025
    Configuration menu
    Copy the full SHA
    b140fca View commit details
    Browse the repository at this point in the history
Loading
0