2017-04-04 113 views
0

我想用Python檢查BigQuery表的最後修改日期。爲此,我使用Google Cloud BigQuery客戶端(https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/bigquery)。大查詢表對象屬性爲空

執行代碼時,表格屬性'modified'爲空。使用

google-cloud-bigquery==0.24.0

代碼:

from google.cloud import bigquery 

client = bigquery.Client() 
dataset = client.dataset(my_dataset) 
table = dataset.table(my_table) 

print table.modified 

回答