Skip to content

[Feature Request]: AvroUtils.toAvroSchema supports a logicaltypes.Date type #23299

@gabry-lab

Description

@gabry-lab

What would you like to happen?

Hi, folks,
I'm using a SQLTransform to read & write a Date field to parquet files. However, AvroUtils.toAvroSchema can't convert org.apache.beam.sdk.schemas.logicaltypes.Date to a avro date type. Because its identifier is beam:logical_type:date:v1, which can't be handled in method org.apache.beam.sdk.schemas.utils.AvroUtils.genericFromBeamField

Issue Priority

Priority: 2

Issue Component

Component: sdk-java-core

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions