Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(samples): add query materialized view #978

Merged
merged 2 commits into from Dec 1, 2020

Conversation

pmakani
Copy link
Contributor

@pmakani pmakani commented Nov 26, 2020

No description provided.

@pmakani pmakani requested review from stephaniewang526 and Nov 26, 2020
@product-auto-label product-auto-label bot added the api: bigquery label Nov 26, 2020
@google-cla google-cla bot added the cla: yes label Nov 26, 2020
@product-auto-label product-auto-label bot added the samples label Nov 26, 2020
@pmakani
Copy link
Contributor Author

@pmakani pmakani commented Nov 26, 2020

Blocked by #977

@kurtisvg kurtisvg removed their assignment Nov 30, 2020
@codecov
Copy link

@codecov codecov bot commented Nov 30, 2020

Codecov Report

Merging #978 (eb1cebe) into master (8be3b77) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #978   +/-   ##
=========================================
  Coverage     80.41%   80.41%           
  Complexity     1272     1272           
=========================================
  Files            79       79           
  Lines          6581     6581           
  Branches        760      761    +1     
=========================================
  Hits           5292     5292           
  Misses          893      893           
  Partials        396      396           

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 8be3b77...eb1cebe. Read the comment docs.

// once, and can be reused for multiple requests.
BigQuery bigquery = BigQueryOptions.getDefaultInstance().getService();

Job job = bigquery.create(JobInfo.of(QueryJobConfiguration.of(query)));
Copy link
Member

@stephaniewang526 stephaniewang526 Nov 30, 2020

Choose a reason for hiding this comment

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

Why not just use the query() method?

@pmakani pmakani force-pushed the query-materialized-view branch from 07b0307 to eb1cebe Compare Dec 1, 2020
@stephaniewang526 stephaniewang526 merged commit cf36b82 into googleapis:master Dec 1, 2020
20 checks passed
@pmakani pmakani deleted the query-materialized-view branch Dec 2, 2020
gcf-merge-on-green bot pushed a commit that referenced this issue Dec 2, 2020
🤖 I have created a release \*beep\* \*boop\* 
---
### [1.125.1](https://www.github.com/googleapis/java-bigquery/compare/v1.125.0...v1.125.1) (2020-12-02)


### Bug Fixes

* update listPartitions() to support tables from other projects ([#974](https://www.github.com/googleapis/java-bigquery/issues/974)) ([1739d57](https://www.github.com/googleapis/java-bigquery/commit/1739d57c59cfb6b90ccf3fcc9c07d1449fc17238))


### Documentation

* **samples:** add alter materialized view ([#979](https://www.github.com/googleapis/java-bigquery/issues/979)) ([37c0632](https://www.github.com/googleapis/java-bigquery/commit/37c0632500366006aecab18b21a10bf8956c4b6c))
* **samples:** add create external table using hivepartitioningoptions ([#969](https://www.github.com/googleapis/java-bigquery/issues/969)) ([3994be6](https://www.github.com/googleapis/java-bigquery/commit/3994be62b63b4b56944499c10b42d77ced4ab33c))
* **samples:** add create iam policy for table ([#975](https://www.github.com/googleapis/java-bigquery/issues/975)) ([0cfc98b](https://www.github.com/googleapis/java-bigquery/commit/0cfc98bffc9970d3275cc233d59c621ddbb6aea6))
* **samples:** add create materialized view ([#977](https://www.github.com/googleapis/java-bigquery/issues/977)) ([155e688](https://www.github.com/googleapis/java-bigquery/commit/155e6882aebdb4ac93e1e78baac0579ca7e11bd1))
* **samples:** add delete materialized view ([#980](https://www.github.com/googleapis/java-bigquery/issues/980)) ([022cb99](https://www.github.com/googleapis/java-bigquery/commit/022cb99b486d27c91f478353ab47df4b8e184e4a))
* **samples:** add export model ([#970](https://www.github.com/googleapis/java-bigquery/issues/970)) ([2edad15](https://www.github.com/googleapis/java-bigquery/commit/2edad15764f144268f1bd3052d1d0ac069a2f377))
* **samples:** add query materialized view ([#978](https://www.github.com/googleapis/java-bigquery/issues/978)) ([cf36b82](https://www.github.com/googleapis/java-bigquery/commit/cf36b82ef9bc0849a87b717c099321915a76b967))
* **samples:** add update iam policy for table ([#976](https://www.github.com/googleapis/java-bigquery/issues/976)) ([aeecac9](https://www.github.com/googleapis/java-bigquery/commit/aeecac905911dbe1ee534f0e5eeef2705a0cb6b3))


### Dependencies

* update dependency com.google.cloud:google-cloud-bigtable to v1.18.1 ([#989](https://www.github.com/googleapis/java-bigquery/issues/989)) ([bbf4fe2](https://www.github.com/googleapis/java-bigquery/commit/bbf4fe2565b1676567f28d720b255696328c08cc))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#988](https://www.github.com/googleapis/java-bigquery/issues/988)) ([3cc0d94](https://www.github.com/googleapis/java-bigquery/commit/3cc0d94888f649a16495f66e80ebf95093730b1a))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery cla: yes samples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants