Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Destination tables are no-longer removed by create_job#891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jimfulton merged 2 commits intogoogleapis:v3fromjimfulton:Dont-remove-destinationTable-in-create_job-483
Aug 23, 2021
Merged

feat: Destination tables are no-longer removed by create_job#891

jimfulton merged 2 commits intogoogleapis:v3fromjimfulton:Dont-remove-destinationTable-in-create_job-483
Aug 23, 2021

Conversation

@jimfulton
Copy link
Contributor

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 abug/issue 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#483 🦕

@jimfultonjimfulton requested a review froma teamAugust 20, 2021 20:48
@jimfultonjimfulton requested a review froma team as acode ownerAugust 20, 2021 20:48
@jimfultonjimfulton requested a review fromtswastAugust 20, 2021 20:48
@product-auto-labelproduct-auto-labelbot added the api: bigqueryIssues related to the googleapis/python-bigquery API. labelAug 20, 2021
@google-clagoogle-clabot added the cla: yesThis human has signed the Contributor License Agreement. labelAug 20, 2021
Copy link
Contributor

@plamutplamut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Trivial lint error aside (unused import), this looks good.

@jimfultonjimfulton merged commit2689df4 intogoogleapis:v3Aug 23, 2021
@jimfultonjimfulton deleted the Dont-remove-destinationTable-in-create_job-483 branchAugust 23, 2021 14:49
)
elif"query"injob_config:
copy_config=copy.deepcopy(job_config)
_del_sub_prop(copy_config, ["query","destinationTable"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Given that we are no longer removing the property, we could just collapse this whole clause into:

elif"query"injob_config:query_job_config=google.cloud.bigquery.job.QueryJobConfig.from_api_repr(job_config            )

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Good idea.#893

tswast added a commit that referenced this pull requestMar 29, 2022
deps!: BigQuery Storage and pyarrow are required dependencies (#776)fix!: use nullable `Int64` and `boolean` dtypes in `to_dataframe` (#786) feat!: destination tables are no-longer removed by `create_job` (#891)feat!: In `to_dataframe`, use `dbdate` and `dbtime` dtypes from db-dtypes package for BigQuery DATE and TIME columns (#972)fix!: automatically convert out-of-bounds dates in `to_dataframe`, remove `date_as_object` argument (#972)feat!: mark the package as type-checked (#1058)feat!: default to DATETIME type when loading timezone-naive datetimes from Pandas (#1061)feat: add `api_method` parameter to `Client.query` to select `INSERT` or `QUERY` API (#967)fix: improve type annotations for mypy validation (#1081)feat: use `StandardSqlField` class for `Model.feature_columns` and `Model.label_columns` (#1117)docs: Add migration guide from version 2.x to 3.x (#1027)Release-As: 3.0.0
waltaskew pushed a commit to waltaskew/python-bigquery that referenced this pull requestJul 20, 2022
deps!: BigQuery Storage and pyarrow are required dependencies (googleapis#776)fix!: use nullable `Int64` and `boolean` dtypes in `to_dataframe` (googleapis#786) feat!: destination tables are no-longer removed by `create_job` (googleapis#891)feat!: In `to_dataframe`, use `dbdate` and `dbtime` dtypes from db-dtypes package for BigQuery DATE and TIME columns (googleapis#972)fix!: automatically convert out-of-bounds dates in `to_dataframe`, remove `date_as_object` argument (googleapis#972)feat!: mark the package as type-checked (googleapis#1058)feat!: default to DATETIME type when loading timezone-naive datetimes from Pandas (googleapis#1061)feat: add `api_method` parameter to `Client.query` to select `INSERT` or `QUERY` API (googleapis#967)fix: improve type annotations for mypy validation (googleapis#1081)feat: use `StandardSqlField` class for `Model.feature_columns` and `Model.label_columns` (googleapis#1117)docs: Add migration guide from version 2.x to 3.x (googleapis#1027)Release-As: 3.0.0
abdelmegahedgoogle pushed a commit to abdelmegahedgoogle/python-bigquery that referenced this pull requestApr 17, 2023
deps!: BigQuery Storage and pyarrow are required dependencies (googleapis#776)fix!: use nullable `Int64` and `boolean` dtypes in `to_dataframe` (googleapis#786) feat!: destination tables are no-longer removed by `create_job` (googleapis#891)feat!: In `to_dataframe`, use `dbdate` and `dbtime` dtypes from db-dtypes package for BigQuery DATE and TIME columns (googleapis#972)fix!: automatically convert out-of-bounds dates in `to_dataframe`, remove `date_as_object` argument (googleapis#972)feat!: mark the package as type-checked (googleapis#1058)feat!: default to DATETIME type when loading timezone-naive datetimes from Pandas (googleapis#1061)feat: add `api_method` parameter to `Client.query` to select `INSERT` or `QUERY` API (googleapis#967)fix: improve type annotations for mypy validation (googleapis#1081)feat: use `StandardSqlField` class for `Model.feature_columns` and `Model.label_columns` (googleapis#1117)docs: Add migration guide from version 2.x to 3.x (googleapis#1027)Release-As: 3.0.0
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tswasttswastAwaiting requested review from tswast

2 more reviewers

@tseavertseavertseaver left review comments

@plamutplamutplamut approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@jimfulton@tseaver@plamut

[8]ページ先頭

©2009-2025 Movatter.jp