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: v2.2.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: v2.3.0
Choose a head ref
  • 16 commits
  • 35 files changed
  • 7 contributors

Commits on Oct 20, 2020

  1. fix: create_job method accepts dictionary arguments (#300)

    * fix: broken create_job method
    
    * fix: changes in unit tests
    
    * fix: fix sourceTable thing
    
    * fix: handle sourceTable passed in job resource
    
    * fix: remove delete destination table from query
    
    * fix: revert destination table for query
    HemangChothani authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    155bacc View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2020

  1. Configuration menu
    Copy the full SHA
    fd08255 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. test: make _AsyncJob tests mock at a lower layer (#340)

    This is intented to make the `_AsyncJob` tests more robust
    to changes in retry behavior. It also more explicitly tests
    the retry behavior by observing API calls rather than calls
    to certain methods.
    tswast authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    c9823d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2020

  1. Configuration menu
    Copy the full SHA
    dca2e4c View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Configuration menu
    Copy the full SHA
    e86aafe View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency grpcio to v1.33.2 (#350)

    This PR contains the following updates:
    
    | Package | Update | Change |
    |---|---|---|
    | [grpcio](https://grpc.io) | patch | `==1.33.1` -> `==1.33.2` |
    
    ---
    
    ### Renovate configuration
    
    :date: **Schedule**: At any time (no schedule defined).
    
    :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-bigquery).
    renovate-bot authored Oct 28, 2020
    Configuration menu
    Copy the full SHA
    d2ffc22 View commit details
    Browse the repository at this point in the history
  3. chore(deps): update dependency google-cloud-bigquery-storage to v2.0.1 (

    #337)
    
    This PR contains the following updates:
    
    | Package | Update | Change |
    |---|---|---|
    | [google-cloud-bigquery-storage](https://togithub.com/googleapis/python-bigquery-storage) | patch | `==2.0.0` -> `==2.0.1` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-bigquery-storage</summary>
    
    ### [`v2.0.1`](https://togithub.com/googleapis/python-bigquery-storage/blob/master/CHANGELOG.md#&#8203;201-httpswwwgithubcomgoogleapispython-bigquery-storagecomparev200v201-2020-10-21)
    
    [Compare Source](https://togithub.com/googleapis/python-bigquery-storage/compare/v2.0.0...v2.0.1)
    
    </details>
    
    ---
    
    ### Renovate configuration
    
    :date: **Schedule**: At any time (no schedule defined).
    
    :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-bigquery).
    renovate-bot authored Oct 28, 2020
    Configuration menu
    Copy the full SHA
    e8be489 View commit details
    Browse the repository at this point in the history
  4. chore(deps): update dependency google-cloud-bigquery to v2.2.0 (#333)

    This PR contains the following updates:
    
    | Package | Update | Change |
    |---|---|---|
    | [google-cloud-bigquery](https://togithub.com/googleapis/python-bigquery) | minor | `==2.1.0` -> `==2.2.0` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-bigquery</summary>
    
    ### [`v2.2.0`](https://togithub.com/googleapis/python-bigquery/blob/master/CHANGELOG.md#&#8203;220-httpswwwgithubcomgoogleapispython-bigquerycomparev210v220-2020-10-19)
    
    [Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.1.0...v2.2.0)
    
    ##### Features
    
    -   add method api_repr for table list item ([#&#8203;299](https://www.github.com/googleapis/python-bigquery/issues/299)) ([07c70f0](https://www.github.com/googleapis/python-bigquery/commit/07c70f0292f9212f0c968cd5c9206e8b0409c0da))
    -   add support for listing arima, automl, boosted tree, DNN, and matrix factorization models ([#&#8203;328](https://www.github.com/googleapis/python-bigquery/issues/328)) ([502a092](https://www.github.com/googleapis/python-bigquery/commit/502a0926018abf058cb84bd18043c25eba15a2cc))
    -   add timeout paramter to load_table_from_file and it dependent methods ([#&#8203;327](https://www.github.com/googleapis/python-bigquery/issues/327)) ([b0dd892](https://www.github.com/googleapis/python-bigquery/commit/b0dd892176e31ac25fddd15554b5bfa054299d4d))
    -   add to_api_repr method to Model ([#&#8203;326](https://www.github.com/googleapis/python-bigquery/issues/326)) ([fb401bd](https://www.github.com/googleapis/python-bigquery/commit/fb401bd94477323bba68cf252dd88166495daf54))
    -   allow client options to be set in magics context ([#&#8203;322](https://www.github.com/googleapis/python-bigquery/issues/322)) ([5178b55](https://www.github.com/googleapis/python-bigquery/commit/5178b55682f5e264bfc082cde26acb1fdc953a18))
    
    ##### Bug Fixes
    
    -   make TimePartitioning repr evaluable ([#&#8203;110](https://www.github.com/googleapis/python-bigquery/issues/110)) ([20f473b](https://www.github.com/googleapis/python-bigquery/commit/20f473bfff5ae98377f5d9cdf18bfe5554d86ff4)), closes [#&#8203;109](https://www.github.com/googleapis/python-bigquery/issues/109)
    -   use version.py instead of pkg_resources.get_distribution ([#&#8203;307](https://www.github.com/googleapis/python-bigquery/issues/307)) ([b8f502b](https://www.github.com/googleapis/python-bigquery/commit/b8f502b14f21d1815697e4d57cf1225dfb4a7c5e))
    
    ##### Performance Improvements
    
    -   add size parameter for load table from dataframe and json methods ([#&#8203;280](https://www.github.com/googleapis/python-bigquery/issues/280)) ([3be78b7](https://www.github.com/googleapis/python-bigquery/commit/3be78b737add7111e24e912cd02fc6df75a07de6))
    
    ##### Documentation
    
    -   update clustering field docstrings ([#&#8203;286](https://www.github.com/googleapis/python-bigquery/issues/286)) ([5ea1ece](https://www.github.com/googleapis/python-bigquery/commit/5ea1ece2d911cdd1f3d9549ee01559ce8ed8269a)), closes [#&#8203;285](https://www.github.com/googleapis/python-bigquery/issues/285)
    -   update snippets samples to support version 2.0 ([#&#8203;309](https://www.github.com/googleapis/python-bigquery/issues/309)) ([61634be](https://www.github.com/googleapis/python-bigquery/commit/61634be9bf9e3df7589fc1bfdbda87288859bb13))
    
    ##### Dependencies
    
    -   add protobuf dependency ([#&#8203;306](https://www.github.com/googleapis/python-bigquery/issues/306)) ([cebb5e0](https://www.github.com/googleapis/python-bigquery/commit/cebb5e0e911e8c9059bc8c9e7fce4440e518bff3)), closes [#&#8203;305](https://www.github.com/googleapis/python-bigquery/issues/305)
    -   require pyarrow for pandas support ([#&#8203;314](https://www.github.com/googleapis/python-bigquery/issues/314)) ([801e4c0](https://www.github.com/googleapis/python-bigquery/commit/801e4c0574b7e421aa3a28cafec6fd6bcce940dd)), closes [#&#8203;265](https://www.github.com/googleapis/python-bigquery/issues/265)
    
    </details>
    
    ---
    
    ### Renovate configuration
    
    :date: **Schedule**: At any time (no schedule defined).
    
    :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-bigquery).
    renovate-bot authored Oct 28, 2020
    Configuration menu
    Copy the full SHA
    5a925ec View commit details
    Browse the repository at this point in the history
  5. feat: add reload argument to *Job.done() functions (#341)

    This enables checking the job status without making an API call.
    
    It also fixes an inconsistency in `QueryJob`, where a job can be
    reported as "done" without having the results of a `getQueryResults` API
    call.
    
    Follow-up to #340
    tswast authored Oct 28, 2020
    Configuration menu
    Copy the full SHA
    e51fd45 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2020

  1. fix(dbapi): avoid running % format with no query parameters (#348)

    * fix: aviod running %format when no query params
    
    * fix: nit
    
    * fix: change in unit test
    HemangChothani authored Oct 29, 2020
    Configuration menu
    Copy the full SHA
    5dd1a5e View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. Configuration menu
    Copy the full SHA
    8a8080b View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. feat: pass retry from Job.result() to Job.done() (#41)

    * feat(bigquery): pass retry from Job.result() to Job.done().
    
    * fix merge conflicts
    
    * drop the comment
    
    * use kwargs sentinel
    
    * check the mock retry
    
    * update dependencies
    
    * use kwargs pattern
    
    * feat: added unit test for retry
    
    * feat: added more exceptions
    
    Co-authored-by: Tim Swast <[email protected]>
    Co-authored-by: HemangChothani <[email protected]>
    3 people authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    284e17a View commit details
    Browse the repository at this point in the history
  2. fix: add missing spaces in opentelemetry log message (#360)

    Currently this log message renders like this:
    
    ```
    This service is instrumented using OpenTelemetry.OpenTelemetry could not be imported; pleaseadd opentelemetry-api and opentelemetry-instrumentationpackages in order to get BigQuery Tracing data.
    ```
    
    where it should be
    ```
    This service is instrumented using OpenTelemetry. OpenTelemetry could not be imported; please add opentelemetry-api and opentelemetry-instrumentation packages in order to get BigQuery Tracing data."
    ```
    rickard-von-essen authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    4f326b1 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. refactor: break job into multiple modules (#361)

    Original paths are retained for backwards compatibility.
    tswast authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    2849e56 View commit details
    Browse the repository at this point in the history
  2. perf: use jobs.getQueryResults to download result sets (#363)

    * refactor: break job into multiple modules
    
    Original paths are retained for backwards compatibility.
    
    * perf: use `jobs.getQueryResults` to download result sets
    
    Replaces `tabledata.list` when `RowIterator` is used for query results.
    This likely also fixes a few edge cases around BigQuery scripting jobs.
    
    * revert unnecessary changes to _get_query_results
    
    * simplify RowIterator. no need to hack Table object
    
    * fix tests for bqstorage warning
    
    * populate location
    tswast authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    0c3476d View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2020

  1. chore: release 2.3.0 (#351)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    d1bf94e View commit details
    Browse the repository at this point in the history
Loading