Hi, This error occurs when the data type can not be parsed. You could read this part to see more details about the User-Defined Data Types[1].
Best, Hang [1] https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/types/#user-defined-data-types 柒朵 <1303809...@qq.com> 于2023年3月29日周三 17:52写道: > > Exception in thread "main" org.apache.flink.table.api.ValidationException: > Could not extract a data type from 'class > UserStatus'. Please pass the required data type manually or allow RAW types. > ------------------------------ > 柒朵 > 1303809...@qq.com > > <https://wx.mail.qq.com/home/index?t=readmail_businesscard_midpage&nocheck=true&name=%E6%9F%92%E6%9C%B5&icon=http%3A%2F%2Fthirdqq.qlogo.cn%2Fg%3Fb%3Dsdk%26k%3DheXagJ7coEPyFt1caniaMyg%26s%3D100%26t%3D1644638307%3Frand%3D1646983371&mail=1303809094%40qq.com&code=> > >