Skip to content

Commit e35b7df

Browse files
AlirezaSaberilesv
authored andcommitted
Update the Public data set name (#889)
The old dataset name is not valid anymore and causes an iternal error
1 parent 596a9dc commit e35b7df

File tree

1 file changed

+1
-1
lines changed
  • bigquery/cloud-client/src/main/java/com/example/bigquery

1 file changed

+1
-1
lines changed

bigquery/cloud-client/src/main/java/com/example/bigquery/SimpleApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static void main(String... args) throws Exception {
4343
"SELECT "
4444
+ "APPROX_TOP_COUNT(corpus, 10) as title, "
4545
+ "COUNT(*) as unique_words "
46-
+ "FROM `publicdata.samples.shakespeare`;")
46+
+ "FROM `bigquery-public-data.samples.shakespeare`;")
4747
// Use standard SQL syntax for queries.
4848
// See: https://cloud.google.com/bigquery/sql-reference/
4949
.setUseLegacySql(false)

0 commit comments

Comments
 (0)