Skip to content

Example for dataset.createTable doesn't work #954

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.

Activity

  1. stephenplusplus commented on Nov 23, 2015

    @stephenplusplus
    Contributor

    Darn, thought I caught that. Thanks for pointing it out!

  2. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: bigqueryIssues related to the BigQuery API.
    on Nov 23, 2015
  3. added a commit that references this issue on Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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