Sunday, 4 June 2017

How to insert into bigQuery partition table using nodeJS library

I have tried to specify partition decoration in form of [TABLE_ID]$YYYYMMDD when calling table.get() :

var table = dataSet.table(tableId + '$' + partition);
return table.get({autoCreate: false})

Also I have tried specifying the configuration.load.destinationTable.tableId in same way , and it did not work. any one have a clue on how to load to the specific partition with the nodejs biqQuery lib ?



via nabulaer

No comments:

Post a Comment