Use date logical type when converting Avro date to Beam field
Open
bug
core
java
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Currently, Avro dates are converted to Beam datetimes. With this change, we can retain the original date field type.
I discovered this issue when further converting the Beam schema to a BigQuery TableSchema. The BigQuery field ended up as a TIMESTAMP instead of the desired DATE type.
Imported from Jira [BEAM-12612](https://issues.apache.org/jira/browse/BEAM-12612). Original Jira may contain additional context.
Reported by: rworley.
Contributor guide
Assessment
This issue has not been assessed yet.