Skip to content

Commit

Permalink
Fixed some typos in tables.js (#326)
Browse files Browse the repository at this point in the history
Looks like these comments were supposed to reference tables instead of datasets.
  • Loading branch information
ryanhugh authored and Ace Nassri committed Apr 4, 2017
1 parent 77327fd commit 02b97b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bigquery/tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function importLocalFile (datasetId, tableId, fileName, projectId) {

// References an existing dataset, e.g. "my_dataset"
const dataset = bigquery.dataset(datasetId);
// References an existing dataset, e.g. "my_dataset"
// References an existing table, e.g. "my_table"
const table = dataset.table(tableId);

let job;
Expand Down Expand Up @@ -180,7 +180,7 @@ function importFileFromGCS (datasetId, tableId, bucketName, fileName, projectId)

// References an existing dataset, e.g. "my_dataset"
const dataset = bigquery.dataset(datasetId);
// References an existing dataset, e.g. "my_dataset"
// References an existing table, e.g. "my_table"
const table = dataset.table(tableId);
// References an existing bucket, e.g. "my-bucket"
const bucket = storage.bucket(bucketName);
Expand Down Expand Up @@ -215,7 +215,7 @@ function exportTableToGCS (datasetId, tableId, bucketName, fileName, projectId)

// References an existing dataset, e.g. "my_dataset"
const dataset = bigquery.dataset(datasetId);
// References an existing dataset, e.g. "my_dataset"
// References an existing table, e.g. "my_table"
const table = dataset.table(tableId);
// References an existing bucket, e.g. "my-bucket"
const bucket = storage.bucket(bucketName);
Expand Down Expand Up @@ -247,7 +247,7 @@ function insertRowsAsStream (datasetId, tableId, rows, projectId) {

// References an existing dataset, e.g. "my_dataset"
const dataset = bigquery.dataset(datasetId);
// References an existing dataset, e.g. "my_dataset"
// References an existing table, e.g. "my_table"
const table = dataset.table(tableId);

// Inserts data into a table
Expand Down

0 comments on commit 02b97b1

Please sign in to comment.