beam icon indicating copy to clipboard operation
beam copied to clipboard

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

Open gabry-lab opened this issue 3 years ago • 0 comments

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

Issue Component

Component: sdk-java-core

gabry-lab avatar Sep 20 '22 08:09 gabry-lab