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/04 18:57:34 UTC

[GitHub] [beam] damccorm opened a new issue, #20677: Avro/BigQuery disagreement on DATE type representation

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

   I'm trying to write a job using an Avro format function to write to BQ. The BQ table has a `DATE` column, Beam converts that to a `[ "null", "string" ]`, but when the BQ load job runs, it errors out with:
   
   `Field date_column has incompatible types. Configured schema: date; Avro file: string.`
   
   If I write an integer, I get a `Not in union ["null","string"]` error from Avro.
   
   This happens regardless of whether `useAvroLogicalTypes` is set.
   
   Imported from Jira [BEAM-11001](https://issues.apache.org/jira/browse/BEAM-11001). Original Jira may contain additional context.
   Reported by: Hale.


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