Aalron opened a new issue, #581:
URL: https://github.com/apache/doris-flink-connector/issues/581

   ### 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
   
   flink-doris-connector-1.20-24.0.1
   
   ### What's Wrong?
   
   A problem was found. When using the flink-doris-connector-1.20-24.0.1.jar 
version, a problem was encountered during data synchronization. The data was 
synchronized from the postgresql database to the doris database. Since a field 
type in the table of the source database is Int2 type, the data was 
synchronized to doris through the whole database synchronization. The data 
field was automatically mapped to tinyint. Since the data value range of 
postgresql's int2 is -32768 to +32767, the value range of the doris data type 
tinyint is -128 - 127, resulting in the direct loss of data that exceeds the 
value range of this field.
   
   ### What You Expected?
   
   I'll go back and fix the type conversion in PostgresType,pg's int2 and 
smallserial type to covert into doris's SMALLINT type
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] 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-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to