You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by 柒朵 <13...@qq.com> on 2023/03/29 09:51:54 UTC

org.apache.flink.table.api.ValidationException

Exception&nbsp;in&nbsp;thread&nbsp;"main"&nbsp;org.apache.flink.table.api.ValidationException:&nbsp;Could&nbsp;not&nbsp;extract&nbsp;a&nbsp;data&nbsp;type&nbsp;from&nbsp;'class UserStatus'.&nbsp;Please&nbsp;pass&nbsp;the&nbsp;required&nbsp;data&nbsp;type&nbsp;manually&nbsp;or&nbsp;allow&nbsp;RAW&nbsp;types.


柒朵
1303809094@qq.com



&nbsp;

Re: org.apache.flink.table.api.ValidationException

Posted by Hang Ruan <ru...@gmail.com>.
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


柒朵 <13...@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.
> ------------------------------
> 柒朵
> 1303809094@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=>
>
>