Skip to content
Permalink
Browse files
docs(samples): fix typo (#884)
* docs(samples): fix typo

* nit
  • Loading branch information
stephaniewang526 committed Oct 28, 2020
1 parent 9f48a91 commit 97573b574a84a1504baf3ad0fb0d30a321842a14
Showing with 2 additions and 1 deletion.
  1. +2 −1 samples/snippets/src/main/java/com/example/bigquery/ExportQueryResultsToS3.java
@@ -43,7 +43,8 @@ public static void main(String[] args) throws InterruptedException {
// Export result of query to find states starting with 'W'
String query =
String.format(
"EXPORT DATA WITH CONNECTION %s AS SELECT * FROM %s.%s.%s WHERE name LIKE 'W%%'",
"EXPORT DATA WITH CONNECTION `%s` OPTIONS(uri='%s', format='%s') "
+ "AS SELECT * FROM %s.%s.%s WHERE name LIKE 'W%%'",
connectionName, destinationUri, format, projectId, datasetName, externalTableName);
exportQueryResultsToS3(query);
}

0 comments on commit 97573b5

Please sign in to comment.