-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
@tswast thanks, currently unmergable due to googleapis/google-cloud-python#2585 |
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: 4582
total unique words: 164656
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.
Thanks for the heads up.
Change-Id: I72c8daab71486d808947ddf0a5ae797e8f3bfa62
Change-Id: Ice67b76ff89f83c289ffefb6a5981166a0b71fcc
176f161
to
e6971e1
Compare
No description provided.