Open megarobo-caiweimin opened 1 year ago
1 encounter the same problem,who can fix it?
I fixed this problem by changing the field type from datetimev2 to datetime. It seems that there is some compatibility problems for datetimev2 type. I am not sure this is caused by whether doris itself or doris flink connector.
Search before asking
Version
doris 1.2.4.1 flink 1.17.1 flink-doris-connector-1.17 1.4.0 java 1.8
What's Wrong?
The program is used to read table from Doris and print data in console. When set read fields to "FID" (int type in doris table), it works well. But if "FPOSTDATE" (datetime type in doris table) is added to read fields, exception will be raised.
only select "FID" code
when add "FPOSTDATE"
error log below
What You Expected?
How to Reproduce?
Use code below, maybe change FE node IP and doris user
Anything Else?
NO, thx
Are you willing to submit PR?
Code of Conduct