From 02b97b143dba58e1c5356014072e3734f88dee28 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Tue, 4 Apr 2017 14:23:55 -0700 Subject: [PATCH] Fixed some typos in tables.js (#326) Looks like these comments were supposed to reference tables instead of datasets. --- bigquery/tables.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bigquery/tables.js b/bigquery/tables.js index ac072f90f6..ef9905af80 100644 --- a/bigquery/tables.js +++ b/bigquery/tables.js @@ -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; @@ -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); @@ -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); @@ -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