beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei He (JIRA)" <>
Subject [jira] [Created] (BEAM-1305) Support additional configuration in BigQueryServices.insertAll()
Date Tue, 24 Jan 2017 21:58:26 GMT
Pei He created BEAM-1305:

             Summary: Support additional configuration in BigQueryServices.insertAll()
                 Key: BEAM-1305
             Project: Beam
          Issue Type: Improvement
          Components: sdk-java-extensions
            Reporter: Pei He
            Assignee: Davor Bonaci

ignoreUnknownValues is requested in

There are additional configurations that could be useful.
TableDataInsertAllRequest content = new TableDataInsertAllRequest();
I think we can improve the BigQueryServices interface by define it as:
void insertAll(TableReference ref, Collection<TableDataInsertAllRequest> request);
and, provided a static method to prepare requests:

List<TableDataInsertAllRequest> makeInsertBatches(List<TableRow> rowList, @Nullable
List<String> insertIdList);
Then, client can set additional config in the returned list.

This message was sent by Atlassian JIRA

View raw message