You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 16:27:37 UTC

[GitHub] [beam] kennknowles opened a new issue, #18151: Support additional configuration in BigQueryServices.insertAll()

kennknowles opened a new issue, #18151:
URL: https://github.com/apache/beam/issues/18151

   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.
   
   
   
   Imported from Jira [BEAM-1305](https://issues.apache.org/jira/browse/BEAM-1305). Original Jira may contain additional context.
   Reported by: peihe0@gmail.com.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org