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

Beam JIRA Bot commented on BEAM-8190:
-------------------------------------

This issue is P2 but has been unassigned without any comment for 60 days so it 
has been labeled "stale-P2". If this issue is still affecting you, we care! 
Please comment and remove the label. Otherwise, in 14 days the issue will be 
moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed 
explanation of what these priorities mean.


> Equivalent to withNumFileShards() in Python as it is in Java
> ------------------------------------------------------------
>
>                 Key: BEAM-8190
>                 URL: https://issues.apache.org/jira/browse/BEAM-8190
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-gcp
>         Environment: Python Streaming Cloud Dataflow Pipeline  
>            Reporter: Steeve
>            Priority: P2
>              Labels: stale-P2
>
> We would like to have an equivalent of withNumFileShards() in Python as well
> .apply("WriteInBigQueryLoad", BigQueryIO.writeTableRows().to(tableLowUrgency)
> .withSchema(schema)
> .withMethod(Method.FILE_LOADS)
> .withTriggeringFrequency(Duration.standardMinutes(2))
> .withNumFileShards(1)
> .withCreateDisposition(BigQueryIO.Write.CreateDisposition.CREATE_IF_NEEDED)
> .withWriteDisposition(BigQueryIO.Write.WriteDisposition.WRITE_APPEND))
> transformed | 'Write' >> beam.io.WriteToBigQuery(
> known_args.target_table,
> schema=schema,
> create_disposition=beam.io.BigQueryDisposition.CREATE_IF_NEEDED,
> write_disposition=beam.io.BigQueryDisposition.WRITE_APPEND,
> method=beam.io.WriteToBigQuery.Method.FILE_LOADS,
> triggering_frequency=5
> )



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to