[
https://issues.apache.org/jira/browse/BEAM-11001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241703#comment-17241703
]
Beam JIRA Bot commented on BEAM-11001:
--------------------------------------
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.
> Avro/BigQuery disagreement on DATE type representation
> ------------------------------------------------------
>
> Key: BEAM-11001
> URL: https://issues.apache.org/jira/browse/BEAM-11001
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Affects Versions: 2.24.0
> Reporter: Coda
> Priority: P2
> Labels: stale-P2
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)