Hi I am getting below error in flink table api, wh...
# troubleshooting
s
Hi I am getting below error in flink table api, while converting table to datastream, what could be the reason flink versionflink table 2.121.13.5 org.apache.flink.table.api.ValidationException: Column types of query result and sink for unregistered table do not match. Cause: Incompatible types for sink column '' at position Query schema: [labels: RAW('java.util.List', ?)] Sink Schema: [f5: RAW('java.util.List', ?)] at org.apache.flink.table.planner.connectors.DynamicSinkUtils.createSchemaMismatchException(DynamicSinkUtils.java:432)
d
so column named labels in the query result and f5 in the sync schema are not compatible although both are apparently if type RAW
It could be a generic type mismatch. You should ensure that the elements within these lists are in fact of the same type. If not you may need to cast or convert
You can also check if there is a difference in SerDes used. This could also cause this. Serialization/Deserialization