Date type mapping from AVRO to Beam Schema produces invalid schema when used with Beam SQL
Open
bug
core
java
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
The date type mapping in AvroUtils (introduced in https://github.com/apache/beam/pull/9152) produces DATETIME fields for AVRO fields with logical type date. Beam SQL expects LOGICAL_TYPE/Date for DATE fields, which was introduced after the AvroUtils mapping was made.
Imported from Jira [BEAM-11323](https://issues.apache.org/jira/browse/BEAM-11323). Original Jira may contain additional context.
Reported by: sjvanrossum.
Contributor guide
Assessment
This issue has not been assessed yet.