You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "SmiMi (via GitHub)" <gi...@apache.org> on 2024/10/14 04:32:12 UTC
[I] [Bug] flink doris connector type conversion error while sink DATE type of data [doris-flink-connector]
SmiMi opened a new issue, #500:
URL: https://github.com/apache/doris-flink-connector/issues/500
### 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)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] [Bug] flink doris connector type conversion error while sink DATE type of data [doris-flink-connector]
Posted by "JNSimba (via GitHub)" <gi...@apache.org>.
JNSimba commented on issue #500:
URL: https://github.com/apache/doris-flink-connector/issues/500#issuecomment-2418385938
It is recommended to use (int)LocalDate.now().toEpochDay() under forced conversion. Flink uses int for internal transmission https://github.com/search?q=repo%3Aapache%2Fflink%20toEpochDay&type=code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] [Bug] flink doris connector type conversion error while sink DATE type of data [doris-flink-connector]
Posted by "vinlee19 (via GitHub)" <gi...@apache.org>.
vinlee19 commented on issue #500:
URL: https://github.com/apache/doris-flink-connector/issues/500#issuecomment-2415639625
i will fix it later
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org