[
https://issues.apache.org/jira/browse/BEAM-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546958#comment-17546958
]
Kenneth Knowles commented on BEAM-4364:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18769
> BigQueryIO.writeTableRows() and withTimePartitioning() fails with
> CreateDisposition.CREATE_NEVER
> ------------------------------------------------------------------------------------------------
>
> Key: BEAM-4364
> URL: https://issues.apache.org/jira/browse/BEAM-4364
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Affects Versions: 2.4.0
> Reporter: Peter Brumblay
> Priority: P3
>
> Using the withTimeParitioning() clause with CreateDisposition.CREATE_NEVER
> fails with the error message "Table with field based partitioning must have a
> schema." even when schema is provided.
> See:
> [https://github.com/pbrumblay/bigqueryioproblems/blob/master/src/main/java/com/fearlesstg/TimePartitioningTest.java#L41]
>
> There is also a possibly related error with the TimePartitioning object when
> the setter setType("DAY") is not used.
> {noformat}
> Incompatible table partitioning specification. Expects partitioning
> specification interval(type:day,field:PARTITION_DATE), but input partitioning
> specification is interval(type:day,field:PARTITION_DATE){noformat}
> See:
> [https://github.com/pbrumblay/bigqueryioproblems/blob/master/src/main/java/com/fearlesstg/TimePartitioningTest.java#L95]
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)