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

feat(bigquery): add support of model for extract job - #71

Merged
HemangChothani merged 8 commits into
googleapis:masterfrom
MaxxleLLC:bigquery_issue_60
May 11, 2020
Merged

feat(bigquery): add support of model for extract job#71
HemangChothani merged 8 commits into
googleapis:masterfrom
MaxxleLLC:bigquery_issue_60

Conversation

@HemangChothani

Copy link
Copy Markdown
Contributor

Fixes#60

@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 1, 2020

@plamutplamut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good generally, just a few minor remarks.

Comment threadgoogle/cloud/bigquery/job.py Outdated
google.cloud.bigquery.table.TableReference, \
google.cloud.bigquery.model.ModelReference \
]):
Table or Model into which data is to be loaded.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be "from which" instead for "into which", considering that it's a source?

Comment threadtests/unit/test_client.py
@HemangChothani

Copy link
Copy Markdown
ContributorAuthor

@shollyman PTAL!

@shollymanshollyman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we have a model lifecycle test in the integration tests? If so, let's add extraction to the lifecycle. This feature is now live so no special setup is required.

Comment threadgoogle/cloud/bigquery/job.py Outdated
google.cloud.bigquery.table.TableReference, \
google.cloud.bigquery.model.ModelReference \
]):
Table or Model from which data is to be loaded.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe s/loaded/extracted/ in the comment.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@shollyman We don't have any model lifecycle test in the integration tests.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose 'sourceModel' for ExtractJobConfiguration

4 participants

@HemangChothani@shollyman@plamut@googlebot