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 — Add system test for insert/fetch of rows w/ nested schema. by tseaver · Pull Request #3140 · googleapis/google-cloud-python

Conversation

@tseaver

@tseaver tseaver commented Mar 14, 2017 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Uses #3118 as a base.

Derived from schema / data from @tswast.

Toward #3029.

Sorry, something went wrong.

Uh oh!

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

All reactions
@tseaver tseaver added api: bigquery Issues related to the BigQuery API. testing labels Mar 14, 2017
@tseaver
tseaver requested review from daspecster and dhermes March 14, 2017 20:57
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 14, 2017
@daspecster

daspecster commented Mar 14, 2017

Copy link
Copy Markdown
Contributor

@tseaver should be able to merge #3118 and rebase this off master.

Also, there's a lint error in this branch just FYI.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver
Add system test for insert/fetch of rows w/ nested schema.
e72e033
Derived from schema / data from @tswast.

Toward #3029.
@tseaver tseaver mentioned this pull request Mar 15, 2017
Add system test for 'Table.create' using nested schema #3118
Merged
@tseaver

tseaver commented Mar 15, 2017

Copy link
Copy Markdown
Contributor Author

@daspecster, @dhermes Any issues?

All reactions

Sorry, something went wrong.

Uh oh!

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

dhermes
dhermes reviewed Mar 15, 2017
View reviewed changes
Comment thread system_tests/bigquery.py
self.assertEqual(len(fetched), len(to_insert))

for found, expected in zip(sorted(fetched), sorted(to_insert)):
self.assertEqual(found[0], expected[0]) # Name

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

Comment thread system_tests/bigquery.py

for found, expected in zip(sorted(fetched), sorted(to_insert)):
self.assertEqual(found[0], expected[0]) # Name
self.assertEqual(found[1], int(expected[1])) # Age

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

Comment thread system_tests/bigquery.py

e_icon = base64.standard_b64decode(
e_spell['Icon'].encode('ascii'))
self.assertEqual(f_spell['Icon'], e_icon)

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

Comment thread system_tests/bigquery_test_data.json
@@ -0,0 +1,66 @@
[

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@tseaver tseaver mentioned this pull request Mar 20, 2017
Write more integration tests for BigQuery #3029
Closed
@tseaver

tseaver commented Mar 20, 2017

Copy link
Copy Markdown
Contributor Author

@dhermes I think I answered your questions.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver
Merge branch 'master' into 3029-bigquery-systest-insert-fetch-w-compl…
664d020
…ex-schema
@tseaver

tseaver commented Mar 21, 2017

Copy link
Copy Markdown
Contributor Author

@dhermes, @lukesneeringer, @daspecster Any remaining issues?

All reactions

Sorry, something went wrong.

Uh oh!

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

@lukesneeringer

lukesneeringer commented Mar 21, 2017

Copy link
Copy Markdown
Contributor

None from me. :-)

All reactions

Sorry, something went wrong.

Uh oh!

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

lukesneeringer
lukesneeringer approved these changes Mar 21, 2017
View reviewed changes
@tseaver
tseaver merged commit 983783b into googleapis:master Mar 21, 2017
@tseaver
tseaver deleted the 3029-bigquery-systest-insert-fetch-w-complex-schema branch March 21, 2017 16:55
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
@tseaver
Merge pull request googleapis#3140 from tseaver/3029-bigquery-systest…
3a8ba72
…-insert-fetch-w-complex-schema

Add system test for insert/fetch of rows w/ nested schema.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@daspecster daspecster Awaiting requested review from daspecster
2 more reviewers
@dhermes dhermes dhermes left review comments
@lukesneeringer lukesneeringer lukesneeringer 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 BigQuery API. cla: yes This human has signed the Contributor License Agreement. testing

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.

5 participants

@tseaver @daspecster @lukesneeringer @dhermes @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.