Skip to content

Conversation

@irvifa
Copy link
Contributor

@irvifa irvifa commented May 25, 2020

As of the current version we can see that the schema and clustering fields
is already defined in the functions, however by passing it as the arguments
engineer can easily change the schema and clustering fields in the IT test
thus enable them to understand more about the concept.

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 a bug/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 #381 ☕️

@irvifa irvifa requested a review from stephaniewang526 as a code owner May 25, 2020 13:42
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 25, 2020
@codecov
Copy link

codecov bot commented May 25, 2020

Codecov Report

Merging #382 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #382   +/-   ##
=========================================
  Coverage     77.88%   77.88%           
  Complexity     1184     1184           
=========================================
  Files            77       77           
  Lines          6218     6218           
  Branches        691      691           
=========================================
  Hits           4843     4843           
  Misses         1021     1021           
  Partials        354      354           

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 c293967...fa27059. Read the comment docs.

@irvifa irvifa force-pushed the make-load-clustered-table-example-more-granular branch 2 times, most recently from 333037f to be7acd9 Compare May 25, 2020 14:06
@irvifa irvifa changed the title chore: Include clustering fields and schema in LoadTableClusteredIT a part of the function arguments chore: Include clustering fields and schema in LoadTableClusteredIT as part of the function arguments May 25, 2020
…s part of the function arguments

As of the current version we can see that the schema and clustering fields
is already defined in the functions, however by passing it as the arguments
engineer can easily change the schema and clustering fields in the IT test
thus enable them to understand more about the concept.
@irvifa irvifa force-pushed the make-load-clustered-table-example-more-granular branch from be7acd9 to fa27059 Compare May 25, 2020 14:10
@stephaniewang526 stephaniewang526 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 26, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 26, 2020
@stephaniewang526 stephaniewang526 changed the title chore: Include clustering fields and schema in LoadTableClusteredIT as part of the function arguments docs(samples): Include clustering fields and schema in LoadTableClusteredIT as part of the function arguments May 26, 2020
@stephaniewang526 stephaniewang526 merged commit 0e91af2 into googleapis:master May 26, 2020
@irvifa irvifa deleted the make-load-clustered-table-example-more-granular branch May 26, 2020 15:41
gcf-merge-on-green bot pushed a commit that referenced this pull request May 26, 2020
…d into method arguments (#386)

As the previous PR #382  and #379.
I find several other samples that have the tendencies of including tightly coupled 
variable for each of specific method. Hence I think it will be better to pass it as an argument instead of simply using local variable inside of the method.

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:
- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-bigquery/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)

Fixes #387  ☕️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include clustering fields and schema as part of the function arguments in LoadTableClustered

4 participants