We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731d9cf commit 290cd98Copy full SHA for 290cd98
advanced/bigquery.gs
@@ -136,9 +136,8 @@ function loadCsv() {
136
}
137
};
138
try {
139
- BigQuery.Jobs.insert(job, projectId, data);
140
- console.log('Load job started. Check on the status of it here: ' +
141
- 'https://bigquery.cloud.google.com/jobs/%s', projectId);
+ const jobResult = BigQuery.Jobs.insert(job, projectId, data);
+ console.log(`Load job started. Status: ${jobResult.status.state}`);
142
} catch (err) {
143
console.log('unable to insert job');
144
0 commit comments