Copy table from one dataset to another in google big query
问题 I intend to copy a set of tables from one dataset to another within the same project. I execute the code in Ipython notebook. I get the list of table names to be copied in the variable “value” using the below code: list = bq.DataSet('test:TestDataset') for x in list.tables(): if(re.match('table1(.*)',x.name.table_id)): value = 'test:TestDataset.'+ x.name.table_id Then i tried using the “bq cp” command to copy table from one dataset to another. But I cannot execute the bq command in the