[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
base: v3.13.0
Choose a base ref
...
head repository: googleapis/python-bigquery
compare: v3.14.0rc0
Choose a head ref
  • 18 commits
  • 58 files changed
  • 12 contributors

Commits on Oct 31, 2023

  1. feat: add support dataset.max_time_travel_hours (#1683)

    * feat: add support dataset.max_time_travel_hours
    
    * Update tests/unit/test_create_dataset.py
    
    * Update tests/unit/test_create_dataset.py
    
    * Update google/cloud/bigquery/dataset.py
    
    * update test_create_dataset_with_max_time_travel_hours
    
    ---------
    
    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    Gaurang033 and Linchin committed Oct 31, 2023
    Copy the full SHA
    f22eff2 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. feat: add support for Dataset.isCaseInsensitive (#1671)

    * feat: add support for Dataset.isCaseInsensitive
    
    This commit creates a property named is_case_insensitive (in dataset.py)
    that allows the usage of the isCaseSensitive field in the Dataset REST
    API.
    
    Fixes: #1670
    
    * tests: add unit tests for dataset.is_case_insensitive
    
    * docs: improve comments for dataset.is_case_sensitive (code and tests)
    
    * docs: improve docstring of is_case_insensitive
    
    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    
    * Update tests/system/test_client.py
    
    ---------
    
    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    joseignaciorc and Linchin committed Nov 1, 2023
    Copy the full SHA
    386fa86 View commit details
    Browse the repository at this point in the history
  2. feat: support data_governance_type (#1708)

    * feat: support data_governance_type
    
    * remove value validation, add sys test
    Linchin committed Nov 1, 2023
    Copy the full SHA
    eff365d View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Copy the full SHA
    40bc244 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. chore: refactor version checks for pandas library (#1711)

    * chore: refactor version checks for pandas library
    
    * readded removed importing of pandas
    
    * revert bad commit
    
    * merged from main, added type:ignore tag to get around mypy error
    
    * Added ignore statement for mypy error, removed checking max version of Pandas
    
    * updated docstring error
    
    * Added parameterize to test to test multiple supported versons
    
    ---------
    
    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    kiraksi and Linchin committed Nov 7, 2023
    Copy the full SHA
    afa9752 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. chore: bump urllib3 from 1.26.12 to 1.26.18 (#1714)

    Source-Link: googleapis/synthtool@febaccc
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:caffe0a9277daeccc4d1de5c9b55ebba0901b57c2f713ec9c876b0d4ec064f61
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Nov 8, 2023
    Copy the full SHA
    2fb7260 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. chore(deps): update dependency pyarrow to v14 [security] (#1718)

    * chore(deps): update dependency pyarrow to v14 [security]
    
    * pin pyarrow to 12.0.1 for python 3.7
    
    * pin pyarrow to 12.0.1 for python 3.7
    
    * pin pyarrow to 12.0.1 for python 3.7
    
    ---------
    
    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    renovate-bot and Linchin committed Nov 10, 2023
    Copy the full SHA
    58b3152 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. feat: add job_timeout_ms to job configuration classes (#1675)

    * fix: adds new property and tests
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * updates docs to correct a sphinx failure
    
    * Updates formatting
    
    * Update tests/system/test_query.py
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Update google/cloud/bigquery/job/base.py
    
    * updates one test and uses int_or_none
    
    * Update tests/system/test_query.py
    
    testing something.
    
    * Update tests/system/test_query.py
    
    * testing coverage feature
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * minor edits
    
    * tweaks to noxfile for testing purposes
    
    * add new test to base as experiment
    
    * adds a test, updates import statements
    
    * add another test
    
    * edit to tests
    
    * formatting fixes
    
    * update noxfile to correct debug code
    
    * removes unneeded comments.
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    chalmerlowe and gcf-owl-bot[bot] committed Nov 16, 2023
    Copy the full SHA
    84d64cd View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. chore: standardize samples directory (#1727)

    * Removed all dependencies from samples/snippets thats not google-cloud-bigquery
    
    * chore: standardizing extra-dependency samples
    
    * readded original dependencies to sample/snippets requirements
    kiraksi committed Nov 17, 2023
    Copy the full SHA
    f804d63 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. feat: add job_id, location, project, and query_id properties …

    …on `RowIterator` (#1733)
    
    * feat: add `job_id`, `location`, `project`, and `query_id` properties on `RowIterator`
    
    These can be used to recover the original job metadata when `RowIterator` is
    the result of a `QueryJob`.
    
    * rename bqstorage_project to billing project
    
    * Update google/cloud/bigquery/table.py
    
    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    
    ---------
    
    Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
    tswast and Linchin committed Nov 18, 2023
    Copy the full SHA
    494f275 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. perf: use the first page a results when query(api_method="QUERY") (#…

    …1723)
    
    * perf: use the first page a results when `query(api_method="QUERY")`
    
    * add tests
    
    * respect max_results with cached page
    
    * respect page_size, also avoid bqstorage if almost fully downloaded
    
    * skip true test if bqstorage not installed
    
    * coverage
    tswast committed Nov 21, 2023
    Copy the full SHA
    6290517 View commit details
    Browse the repository at this point in the history
  2. fix: ensure query job retry has longer deadline than API request dead…

    …line (#1734)
    
    In cases where we can't disambiguate API failure from job failure,
    this ensures we can still retry the job at least once.
    tswast committed Nov 21, 2023
    Copy the full SHA
    5573579 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. fix: load_table_from_dataframe now assumes there may be local null …

    …values (#1735)
    
    Even if the remote schema is REQUIRED
    
    Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
    - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
    - [ ] Ensure the tests and linter pass
    - [ ] Code coverage does not decrease (if any source code was changed)
    - [ ] Appropriate docs were updated (if necessary)
    
    Fixes #1692 🦕
    tswast committed Nov 22, 2023
    Copy the full SHA
    f05dc69 View commit details
    Browse the repository at this point in the history
  2. chore: standardize samples directory - delete unneeded dependencies (#…

    …1732)
    
    * chore: standardize samples directory = delete unneeded dependencies
    
    * Removed unused import for linter
    kiraksi committed Nov 22, 2023
    Copy the full SHA
    222e86e View commit details
    Browse the repository at this point in the history
  3. fix: move grpc, proto-plus and protobuf packages to extras (#1721)

    * chore: move grpc, proto-plus and protobuff packages to extras
    
    * formatted with black
    
    * feat: add `job_timeout_ms` to job configuration classes (#1675)
    
    * fix: adds new property and tests
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * updates docs to correct a sphinx failure
    
    * Updates formatting
    
    * Update tests/system/test_query.py
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Update google/cloud/bigquery/job/base.py
    
    * updates one test and uses int_or_none
    
    * Update tests/system/test_query.py
    
    testing something.
    
    * Update tests/system/test_query.py
    
    * testing coverage feature
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * minor edits
    
    * tweaks to noxfile for testing purposes
    
    * add new test to base as experiment
    
    * adds a test, updates import statements
    
    * add another test
    
    * edit to tests
    
    * formatting fixes
    
    * update noxfile to correct debug code
    
    * removes unneeded comments.
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Tim Swast <swast@google.com>
    4 people committed Nov 22, 2023
    Copy the full SHA
    5ce4d13 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. feat: removed pkg_resources from all test files and moved importlib i…

    …nto pandas extra (#1726)
    
    * feat: Introduce compatibility with native namespace packages
    
    * Update copyright year
    
    * removed pkg_resources from all test files and moved importlib into pandas extra
    
    * feat: removed pkg_resources from all test files and moved importlib into pandas extra
    
    * Adding no cover tag to test code
    
    * reformatted with black
    
    * undo revert
    
    * perf: use the first page a results when `query(api_method="QUERY")` (#1723)
    
    * perf: use the first page a results when `query(api_method="QUERY")`
    
    * add tests
    
    * respect max_results with cached page
    
    * respect page_size, also avoid bqstorage if almost fully downloaded
    
    * skip true test if bqstorage not installed
    
    * coverage
    
    * fix: ensure query job retry has longer deadline than API request deadline (#1734)
    
    In cases where we can't disambiguate API failure from job failure,
    this ensures we can still retry the job at least once.
    
    * fix: `load_table_from_dataframe` now assumes there may be local null values (#1735)
    
    Even if the remote schema is REQUIRED
    
    Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
    - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
    - [ ] Ensure the tests and linter pass
    - [ ] Code coverage does not decrease (if any source code was changed)
    - [ ] Appropriate docs were updated (if necessary)
    
    Fixes #1692 🦕
    
    * chore: standardize samples directory - delete unneeded dependencies (#1732)
    
    * chore: standardize samples directory = delete unneeded dependencies
    
    * Removed unused import for linter
    
    * fix: move grpc, proto-plus and protobuf packages to extras (#1721)
    
    * chore: move grpc, proto-plus and protobuff packages to extras
    
    * formatted with black
    
    * feat: add `job_timeout_ms` to job configuration classes (#1675)
    
    * fix: adds new property and tests
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * updates docs to correct a sphinx failure
    
    * Updates formatting
    
    * Update tests/system/test_query.py
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Update google/cloud/bigquery/job/base.py
    
    * updates one test and uses int_or_none
    
    * Update tests/system/test_query.py
    
    testing something.
    
    * Update tests/system/test_query.py
    
    * testing coverage feature
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * minor edits
    
    * tweaks to noxfile for testing purposes
    
    * add new test to base as experiment
    
    * adds a test, updates import statements
    
    * add another test
    
    * edit to tests
    
    * formatting fixes
    
    * update noxfile to correct debug code
    
    * removes unneeded comments.
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Tim Swast <swast@google.com>
    
    * remove unnecessary version checks
    
    * undo bad commit, remove unneeded version checks
    
    * Revert "undo bad commit, remove unneeded version checks"
    
    This reverts commit 5c82dcf.
    
    * Revert "remove unnecessary version checks"
    
    This reverts commit 9331a7e.
    
    * revert bad changes, remove pkg_resources from file
    
    * after clarification, reimplement changes and ignore 3.12 tests
    
    * reformatted with black
    
    * removed minimum check
    
    * updated pandas installed version check
    
    ---------
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    Co-authored-by: Tim Swast <swast@google.com>
    Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    5 people committed Nov 28, 2023
    Copy the full SHA
    1f4ebb1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7ea750b View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Copy the full SHA
    0a34821 View commit details
    Browse the repository at this point in the history