In bigquery example we have the following patttern:
Tabletable = getTable(...);
if (table == null) {
// create table
} else {
// load data
}in storage we have:
Blobblob = getBlob(...);
if (blob == null) {
// create blob
} else {
// get and update blob's content
}In both cases we should remove the else branch and rather execute it after table/blob creation.
Also in datastore we do:
Entityentity = getEntity(...);
if (entity = null) {
// create entity
} else {
// update entity access type
}@ajkannan@aozarov@mderka Do you guys think we should remove the else branch also for datastore's example? It makes slightly less sense to me.
In bigquery example we have the following patttern:
in storage we have:
In both cases we should remove the
elsebranch and rather execute it after table/blob creation.Also in datastore we do:
@ajkannan@aozarov@mderka Do you guys think we should remove the
elsebranch also for datastore's example? It makes slightly less sense to me.