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

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

This issue was marked "stale-P2" and has not received a public comment in 14 
days. It is now automatically moved to P3. If you are still affected by it, you 
can comment and move it back to P2.

> beam.io.BigQuerySink Python SDK does not support WRITE_TRUNCATE write 
> disposition when specifying table with partition decorator
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-2332
>                 URL: https://issues.apache.org/jira/browse/BEAM-2332
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>    Affects Versions: 2.0.0
>         Environment: OSX 
>            Reporter: Jean-Christophe Rodrigue
>            Priority: P3
>
> When trying to write to a BigQuery partition with this transform 
> pcoll | beam.io.Write(beam.io.BigQuerySink(table, schema=self.get_schema(), 
>          create_disposition=beam.io.BigQueryDisposition.CREATE_NEVER,
>          write_disposition=beam.io.BigQueryDisposition.WRITE_TRUNCATE)))
> I get the following error code: 
> "code": 400,
>   "message": "Invalid table ID \"table$20170103\". Table IDs must be 
> alphanumeric (plus underscores) and must be at most 1024 characters long. 
> Also, Table decorators cannot be used."
> The table is partitioned by day already.



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

Reply via email to