You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Peter Brumblay (JIRA)" <ji...@apache.org> on 2018/05/20 23:01:00 UTC

[jira] [Created] (BEAM-4364) BigQueryIO.writeTableRows() and withTimePartitioning() fails with CreateDisposition.CREATE_NEVER

Peter Brumblay created BEAM-4364:
------------------------------------

             Summary: 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
            Assignee: Chamikara Jayalath


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
(v7.6.3#76005)