apache / apache/doris-flink-connector
[Bug] flink doris connector type conversion error while sink DATE type of data
- Dominant language
- Java
- Stars
- 385
- Forks
- 279
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 6
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
### Version
1.16.0
1.16.2
24.0.0
### What's Wrong?

When I run the example, I get the following error:
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
### What You Expected?

Whether this should use Long type
### How to Reproduce?
_No response_
### Anything Else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
Research direction
The issue names the Flink-Doris connector example and reports a DATE sink failure across the listed versions, but no source file or test is identified. Start by reproducing the example and tracing the DATE conversion from the connector input to the sink; done means the example no longer raises the Long-to-Integer ClassCastException and the expected DATE value is written.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100