- Notifications
You must be signed in to change notification settings - Fork6.7k
Add bigquery shakespeare example#604
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
tswast left a comment
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.
Cool, thanks for doing this.
theacodes commentedOct 21, 2016
@tswast thanks, currently unmergable due togoogleapis/google-cloud-python#2585 |
tswast commentedOct 21, 2016
Ugh. |
| def test_query_shakespeare(capsys): | ||
| simple_app.query_shakespeare() | ||
| out, _ = capsys.readouterr() | ||
| assert 'Hamlet' in out |
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.
'hamlet' is lower-case in my query output in the Java sample I'm writing.
titles: hamlet: 5318 kinghenryv: 5104 cymbeline: 4875 troilusandcressida: 4795 kinglear: 4784 kingrichardiii: 4713 2kinghenryvi: 4683 coriolanus: 4653 2kinghenryiv: 4605 antonyandcleopatra: 4582total unique words: 164656There 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.
Thanks for the heads up.
Change-Id: I72c8daab71486d808947ddf0a5ae797e8f3bfa62
Change-Id: Ice67b76ff89f83c289ffefb6a5981166a0b71fcc
176f161 toe6971e1Compare
No description provided.