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 20:22:28 UTC

[GitHub] [beam] kennknowles opened a new issue, #18769: BigQueryIO.writeTableRows() and withTimePartitioning() fails with CreateDisposition.CREATE_NEVER

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

   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](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.
   ```
   
   Incompatible table partitioning specification. Expects partitioning specification interval(type:day,field:PARTITION_DATE),
   but input partitioning specification is interval(type:day,field:PARTITION_DATE)
   ```
   
   See: [https://github.com/pbrumblay/bigqueryioproblems/blob/master/src/main/java/com/fearlesstg/TimePartitioningTest.java#L95](https://github.com/pbrumblay/bigqueryioproblems/blob/master/src/main/java/com/fearlesstg/TimePartitioningTest.java#L95)
   
    
   
   Imported from Jira [BEAM-4364](https://issues.apache.org/jira/browse/BEAM-4364). Original Jira may contain additional context.
   Reported by: pbrumblay.


-- 
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