Hi, I have just noticed that flink confluent avro...
# troubleshooting
t
Hi, I have just noticed that flink confluent avro will use legacy timestamp mapping, which results in
Copy code
java.lang.UnsupportedOperationException: Unsupported to derive Schema for type: TIMESTAMP_LTZ(3)
at org.apache.flink.formats.avro.typeutils.AvroSchemaConverter.convertToSchema(AvroSchemaConverter.java:494) ~[flink-sql-avro-1.19.2.jar:1.19.2]
however, this argument is only available for flink avro not flink confluent avro format. Therefore it is unable to cast unix timstamp in avro properly as a source table in Flink, while using confluent-avro format (where you can hook schema registry). Is this a known bug already?
p
Hey there @Tiansu Yu! I do not have loads of knowledge on the confluent platform, perhaps you may find an easier answer on the flink channel of confluent slack. There's always someone from Confluent there. This may speed your troubleshooting.
t
Hey Pedro, FYI, this is OSS self-hosted flink, the only thing confluent relevant is the connector itself
p
gotcha!!