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/09/25 02:17:56 UTC

[I] [Bug] flink doris connector type conversion error while sink DATE type of data [doris]

SmiMi opened a new issue, #41244:
URL: https://github.com/apache/doris/issues/41244

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   flink-doris-connector-1.16
   1.16.0
   1.16.2
   24.0.0
   
   ### What's Wrong?
   
   ![image](https://github.com/user-attachments/assets/f1e9fea3-10e5-44bc-b9b7-b045a03054ff)
   
   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?
   
   ![image](https://github.com/user-attachments/assets/fb47944b-f1e0-4722-a68f-a3439f546d72)
   
   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]

Posted by "CloudExtreme (via GitHub)" <gi...@apache.org>.
CloudExtreme commented on issue #41244:
URL: https://github.com/apache/doris/issues/41244#issuecomment-2404629774

   It may be considered as the value of epochday is much more lesser than the maximum value of int. I'm not sure that's the right thing to use getInt. Maybe you can cast long to int to avoid this issue or make an issue in project doris-flink-connector.


-- 
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]

Posted by "CloudExtreme (via GitHub)" <gi...@apache.org>.
CloudExtreme commented on issue #41244:
URL: https://github.com/apache/doris/issues/41244#issuecomment-2378802024

   It should be fixed in project doris-flink-connector, could you please assign this issue to me?


-- 
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]

Posted by "SmiMi (via GitHub)" <gi...@apache.org>.
SmiMi closed issue #41244: [Bug] flink doris connector type conversion error while sink DATE type of data
URL: https://github.com/apache/doris/issues/41244


-- 
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