google api dotnet client - Unable to create new TableSchema in BigQuery with C# -
i trying create google bigquery table schema explicitly, tableschema.fields.add() method throws object reference exception.
tableschema schema = response.schema; tablefieldschema sc1 = new tablefieldschema(); sc1.name = "customerid"; sc1.type = "string"; sc1.mode = "nullable"; schema.fields.add(sc1); -- throws error.
a java example of inserting new table specified schema can found here: http://stackoverflow.com/questions/21183941/how-to-create-a-bigquery-dataset-and-a-table-schema-from-java-client-without-cs#answer-21201882
Comments
Post a Comment