Skip to content

Example for dataset.createTable doesn't work #954

@afanasy

Description

@afanasy

https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.25.0/bigquery/dataset?method=createTable
This doesn't work

var tableConfig = {
  id: 'institution_data',
  schema: 'UNITID'
}
dataset.createTable(tableConfig, function(err, table, apiResponse) {})

This does

dataset.createTable('institution_data', {schema: 'UNITID'}, function (err, table, apiResponse) {})

First parameter should be table id.

Metadata

Metadata

Labels

api: bigqueryIssues related to the BigQuery API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions