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.
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
refactor(bigquery): update code samples to use strings for table and dataset IDs #9495
refactor(bigquery): update code samples to use strings for table and dataset IDs #9495
Changes from 1 commit
b22b4ed
44c3e65
45d90de
5631419
5af72c8
1ab9eb7
14fbab4
c1c2c7c
f15033c
bfa3ec2
9326f90
0e50ead
04555f9
b2cb5a1
08a1a2f
1c135d7
1eb6a25
16dd3f8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I got confused by this test.
I'd very much like to see a positive assertion that a non-zero number is present.
not in
could happen for many different reasons.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.
Let's call
dest_table = client.get_table(random_table_id)
and thenassert dest_table.num_rows > 0
so that we know that the job did what we expected it to do.