Playing around with table creation I stumbled upon this:
When I successfully create a table I get the following response:
{
"kind":"bigquery#table",
"etag":"\"AxMVOKw7qC1yJvFAglg_iwWnfXE/1uI1j9CjWrEth7qwtgYXqgfPkQo\"",
"id":"gcloud-devel:gcloud_test_dataset_temp_179c9ccb_4acc_4c8e_b0f3_41d8e9d8ae76.testTable",
"selfLink":"https://www.googleapis.com/bigquery/v2/projects/gcloud-devel/datasets/gcloud_test_dataset_temp_179c9ccb_4acc_4c8e_b0f3_41d8e9d8ae76/tables/testTable",
"tableReference":{
"projectId":"gcloud-devel",
"datasetId":"gcloud_test_dataset_temp_179c9ccb_4acc_4c8e_b0f3_41d8e9d8ae76",
"tableId":"testTable"
},
"schema":{
"fields":[
{
"name":"oneField",
"type":"INTEGER"
}
]
},
"type":"TABLE"
}
This is not a complete table resource as some fields (creationTime, numBytes, numRows, ...) are missing. Do you have any idea why some fields are not set in create's response?
If I get the just created table the response is complete, as expected.
Playing around with table creation I stumbled upon this:
When I successfully create a table I get the following response:
{ "kind":"bigquery#table", "etag":"\"AxMVOKw7qC1yJvFAglg_iwWnfXE/1uI1j9CjWrEth7qwtgYXqgfPkQo\"", "id":"gcloud-devel:gcloud_test_dataset_temp_179c9ccb_4acc_4c8e_b0f3_41d8e9d8ae76.testTable", "selfLink":"https://www.googleapis.com/bigquery/v2/projects/gcloud-devel/datasets/gcloud_test_dataset_temp_179c9ccb_4acc_4c8e_b0f3_41d8e9d8ae76/tables/testTable", "tableReference":{ "projectId":"gcloud-devel", "datasetId":"gcloud_test_dataset_temp_179c9ccb_4acc_4c8e_b0f3_41d8e9d8ae76", "tableId":"testTable" }, "schema":{ "fields":[ { "name":"oneField", "type":"INTEGER" } ] }, "type":"TABLE" }This is not a complete table resource as some fields (creationTime, numBytes, numRows, ...) are missing. Do you have any idea why some fields are not set in create's response?
If I get the just created table the response is complete, as expected.