Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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