[ 
https://issues.apache.org/jira/browse/BEAM-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546270#comment-17546270
 ] 

Kenneth Knowles commented on BEAM-1305:
---------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/18151

> Support additional configuration in BigQueryServices.insertAll()
> ----------------------------------------------------------------
>
>                 Key: BEAM-1305
>                 URL: https://issues.apache.org/jira/browse/BEAM-1305
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-gcp
>            Reporter: Pei He
>            Priority: P3
>
> ignoreUnknownValues is requested in 
> https://issues.apache.org/jira/browse/BEAM-1267
> There are additional configurations that could be useful.
> TableDataInsertAllRequest content = new TableDataInsertAllRequest();
> content.setSkipInvalidRows();
> content.setTemplateSuffix();
> content.setKind();
>             
> 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
(v8.20.7#820007)

Reply via email to