GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BigQuery: Augment BQ Model metadata. by shollyman · Pull Request #5214 · googleapis/google-cloud-java

Conversation

@shollyman

@shollyman shollyman commented May 23, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This change introduces extended ML model metadata into the existing CRUD
implementation for BigQuery ML models. This implementation exposes the
underlying discovery types directly without an abstraction for the ML metadata.

Methods that provide this metadata are all marked @BetaApi to indicate the getters may change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@shollyman
BigQuery: Augment BQ Model Metadata.
74cc552
This change introduces extended ML model metadata into the existing CRUD
implementation for BigQuery ML models.  This implementation exposes the
underlying discovery types directly without an abstraction for the ML metadata.

Methods that provide this metadata are all marked @BetaApi to indicate the getters may change.
@shollyman
shollyman requested a review from a team May 23, 2019 09:51
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 23, 2019
@shollyman
shollyman requested a review from tswast May 23, 2019 10:05
@codecov

codecov Bot commented May 23, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #5214 into master will increase coverage by <.01%.
The diff coverage is 58.97%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #5214      +/-   ##
============================================
+ Coverage     50.41%   50.42%   +<.01%     
- Complexity    23796    23799       +3     
============================================
  Files          2251     2251              
  Lines        226836   226874      +38     
  Branches      24966    24969       +3     
============================================
+ Hits         114370   114392      +22     
- Misses       103858   103871      +13     
- Partials       8608     8611       +3
Impacted Files Coverage Δ Complexity Δ
...src/main/java/com/google/cloud/bigquery/Model.java 67.27% <0%> (-8.24%) 12 <0> (ø)
.../main/java/com/google/cloud/bigquery/BigQuery.java 78.44% <100%> (+0.26%) 0 <0> (ø) ⬇️
...main/java/com/google/cloud/bigquery/ModelInfo.java 76.11% <66.66%> (-2.73%) 21 <3> (+3)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03bf10c...1f817f2. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sduskis
sduskis approved these changes May 23, 2019
View reviewed changes
@shollyman
nit: reduce visibility of set methods on Model for extended stats
1f817f2
tswast
tswast approved these changes May 23, 2019
View reviewed changes

@tswast tswast left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM. This is so much nicer than if we had to duplicate all those properties manually.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@shollyman

shollyman commented May 23, 2019

Copy link
Copy Markdown
Contributor Author

LGTM. This is so much nicer than if we had to duplicate all those properties manually.

The combination of the annotation, that the representations are effectively read only, and the fact that we pin the discovery artifacts in the maven dependencies makes me much more comfortable here. Assuming no other comments come up, I'll merge it when I'm back in the office tomorrow my time.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shollyman
shollyman merged commit 6636539 into googleapis:master May 24, 2019
@shollyman
shollyman deleted the model-stats branch May 24, 2019 10:29
@kolea2 kolea2 mentioned this pull request May 29, 2019
Release google-cloud-java v0.94.0 #5238
Merged
shollyman added a commit to shollyman/google-cloud-java that referenced this pull request Jul 12, 2019
@shollyman
BigQuery: update signature for ML model access to label/feature columns.
4d5b911
This is a breaking change to a @BetaApi within BigQuery.

It swaps in a new veneer StandardSQLField type in place of the underlying
discovery type for getting information about the feature and label columns
from ML models, which was functionality introduced in:
googleapis#5214
@shollyman shollyman mentioned this pull request Jul 12, 2019
BigQuery: update signature for ML model access to label/feature columns. #5732
Merged
shollyman added a commit that referenced this pull request Jul 18, 2019
@shollyman
BigQuery: update signature for ML model access to label/feature colum…
187fd3d
…ns. (#5732)

This is a breaking change to a @BetaApi within BigQuery.

It swaps in a new veneer StandardSQLField type in place of the underlying
discovery type for getting information about the feature and label columns
from ML models, which was functionality introduced in:
#5214
stephaniewang526 pushed a commit to googleapis/java-bigquery that referenced this pull request Dec 6, 2019
@shollyman
BigQuery: update signature for ML model access to label/feature colum…
6102795
…ns. (#5732)

This is a breaking change to a @BetaApi within BigQuery.

It swaps in a new veneer StandardSQLField type in place of the underlying
discovery type for getting information about the feature and label columns
from ML models, which was functionality introduced in:
googleapis/google-cloud-java#5214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tswast tswast tswast approved these changes
+1 more reviewer
@sduskis sduskis sduskis approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@shollyman @sduskis @tswast @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.