We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa4a1e2 commit 4447ca7Copy full SHA for 4447ca7
bigquery/api/test/bigqueryTest.php
@@ -266,7 +266,10 @@ public function testStreamRow()
266
public function testRunQuery()
267
{
268
$query = 'SELECT corpus, COUNT(*) as unique_words
269
- FROM `publicdata.samples.shakespeare` GROUP BY corpus LIMIT 10';
+ FROM `publicdata.samples.shakespeare`
270
+ GROUP BY corpus
271
+ ORDER BY unique_words DESC
272
+ LIMIT 10';
273
274
$output = $this->runSnippet('run_query', [$query]);
275
$this->assertStringContainsString('hamlet', $output);
0 commit comments