[ https://issues.apache.org/jira/browse/BEAM-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17131937#comment-17131937 ]
Beam JIRA Bot commented on BEAM-2332: ------------------------------------- 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. > 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: P2 > Labels: stale-P2 > > 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)