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 — feat: add support for user defined TVFs by stephaniewang526 · Pull Request #1278 · googleapis/java-bigquery

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@stephaniewang526

@stephaniewang526 stephaniewang526 commented May 1, 2021

Copy link
Copy Markdown
Contributor

Allow BigQuery client library users to define table-valued functions (TVFs) that return table data.

Sorry, something went wrong.

Uh oh!

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

All reactions
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/java-bigquery API. label May 1, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label May 1, 2021
@stephaniewang526
feat: add support for user defined TVFs
6c7f05b
update license headers

update license headers

update license headers
@stephaniewang526
stephaniewang526 force-pushed the support-tvf branch from e9fc698 to 6c7f05b Compare May 2, 2021 00:02
@codecov

codecov Bot commented May 2, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Codecov Report

Merging #1278 (e9fc698) into master (f006fa9) will decrease coverage by 0.07%.
The diff coverage is 61.53%.

❗ Current head e9fc698 differs from pull request most recent head 6aac2ed. Consider uploading reports for the commit 6aac2ed to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1278      +/-   ##
============================================
- Coverage     80.19%   80.12%   -0.08%     
- Complexity     1271     1277       +6     
============================================
  Files            79       80       +1     
  Lines          6639     6665      +26     
  Branches        767      771       +4     
============================================
+ Hits           5324     5340      +16     
- Misses          917      923       +6     
- Partials        398      402       +4     
Impacted Files Coverage Δ Complexity Δ
...c/main/java/com/google/cloud/bigquery/Routine.java 78.94% <0.00%> (-2.88%) 12.00 <0.00> (ø)
...in/java/com/google/cloud/bigquery/RoutineInfo.java 88.81% <40.00%> (-3.68%) 26.00 <1.00> (+1.00) ⬇️
...om/google/cloud/bigquery/StandardSQLTableType.java 85.71% <85.71%> (ø) 5.00 <5.00> (?)

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 f006fa9...6aac2ed. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

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

@stephaniewang526
stephaniewang526 marked this pull request as ready for review May 3, 2021 15:16
@stephaniewang526
stephaniewang526 requested review from a team and shollyman May 3, 2021 15:16
shollyman
shollyman approved these changes May 3, 2021
View reviewed changes

@shollyman shollyman 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.

Looks good, but seems like you should augment google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/RoutineTest.java to exercise the optional returnTableType so you retain coverage.

Sorry, something went wrong.

Uh oh!

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

stephaniewang526 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@stephaniewang526
update RoutineTest.java
6aac2ed
@stephaniewang526

stephaniewang526 commented May 4, 2021

Copy link
Copy Markdown
Contributor Author

Looks good, but seems like you should augment google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/RoutineTest.java to exercise the optional returnTableType so you retain coverage.

added additional test in RoutineTest

All reactions

Sorry, something went wrong.

Uh oh!

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

@stephaniewang526 stephaniewang526 added the automerge Merge the pull request once unit tests and other checks pass. label May 4, 2021
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit 89958e9 into googleapis:master May 4, 2021
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label May 4, 2021
gcf-merge-on-green Bot pushed a commit that referenced this pull request May 11, 2021
@release-please
chore: release 1.129.0 (#1280)
52f0781
🤖 I have created a release \*beep\* \*boop\*
---
## [1.129.0](https://www.github.com/googleapis/java-bigquery/compare/v1.128.3...v1.129.0) (2021-05-11)


### Features

* add support for user defined TVFs ([#1278](https://www.github.com/googleapis/java-bigquery/issues/1278)) ([89958e9](https://www.github.com/googleapis/java-bigquery/commit/89958e9b5e4330b31878aa31b90569d2fd0310f2))


### Dependencies

* update dependency com.google.apis:google-api-services-bigquery to v2-rev20210422-1.31.0 ([#1275](https://www.github.com/googleapis/java-bigquery/issues/1275)) ([acc88c5](https://www.github.com/googleapis/java-bigquery/commit/acc88c5de445d166055825bf51d56a031e642675))
* update dependency com.google.apis:google-api-services-bigquery to v2-rev20210430-1.31.0 ([#1285](https://www.github.com/googleapis/java-bigquery/issues/1285)) ([e74ae1c](https://www.github.com/googleapis/java-bigquery/commit/e74ae1c180c8ce27c9c8985c1935a894889b6375))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#1290](https://www.github.com/googleapis/java-bigquery/issues/1290)) ([e60f2cd](https://www.github.com/googleapis/java-bigquery/commit/e60f2cd823b1551e43154f87a5157acca51b346c))
* update jmh.version to v1.30 ([#1281](https://www.github.com/googleapis/java-bigquery/issues/1281)) ([3704a6c](https://www.github.com/googleapis/java-bigquery/commit/3704a6cc46b84ce3b5ba01466ba39333f1b16886))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
gcf-owl-bot Bot added a commit that referenced this pull request Nov 9, 2021
@gcf-owl-bot
chore: update jre to 11 for linter (#1278)
d4dd2aa
java-format requires JRE v11+ to run linter. It still check older code, just jre has to be 11+: google/google-java-format#529

Updating ci.yaml template since it is applicable for all the libraries.
Source-Link: googleapis/synthtool@42a3786
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8
gcf-merge-on-green Bot pushed a commit that referenced this pull request Nov 9, 2021
@gcf-owl-bot
chore: update jre to 11 for linter (#1278) (#1697)
baf3a3c
@release-please release-please Bot mentioned this pull request Jan 4, 2022
chore(main): release java-bigquery 3.0.0 #1768
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@shollyman shollyman shollyman 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

api: bigquery Issues related to the googleapis/java-bigquery API. 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.

2 participants

@stephaniewang526 @shollyman
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.