google-bigquery/src/test/java/bio/terra/cloudres/google/bigquery/BigQueryCowTest.java
/** Create a BQ table in the reusable BQ dataset with a random table name. */
Create a BQ table in the reusable BQ dataset with a random table name.
Create a BQ table in the reusable BQ dataset with a random table name .
private Table createTable() throws IOException {
    String generatedTableId = IntegrationUtils.randomNameWithUnderscore();
    TableReference tableReference =
        new TableReference()
            .setProjectId(projectId)
            .setDatasetId(REUSABLE_DATASET_ID)
            .setTableId(generatedTableId);
    Table tableToCreate = new Table().setTableReference(tableReference);
    return bigQueryCow.tables().insert(projectId, REUSABLE_DATASET_ID, tableToCreate).execute();
  }
private Table createTable ( ) throws IOException { String generatedTableId = IntegrationUtils . randomNameWithUnderscore ( ) ; TableReference tableReference = new TableReference ( ) . setProjectId ( projectId ) . setDatasetId ( REUSABLE_DATASET_ID ) . setTableId ( generatedTableId ) ; Table tableToCreate = new Table ( ) . setTableReference ( tableReference ) ; return bigQueryCow . tables ( ) . insert ( projectId , REUSABLE_DATASET_ID , tableToCreate ) . execute ( ) ; }
Create a BQ table in the reusable BQ dataset with a random table name.
Create a BQ table in the reusable BQ dataset with a random table name .