deng-jeffer opened a new issue, #558:
URL: https://github.com/apache/doris-flink-connector/issues/558

   ### 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
   
   24.1.0
   
   ### What's Wrong?
   
   mysql tinyint(1) will convert to DorisType.BOOLEAN
   The tinyint(1) type of MySQL is converted to BIT type by JDBC. This will 
cause the doris table to be created as Boolean type, and the problem of data 
loss when storing numerical values ​​other than 0 and 1.
   mysql scheme:
   <img width="892" alt="Image" 
src="https://github.com/user-attachments/assets/a5956358-159c-475d-89af-0b4016fa798f";
 />
   jdbc return type:
   <img width="1203" alt="Image" 
src="https://github.com/user-attachments/assets/37907f2b-fb80-40d2-8d1e-52e5f645ebfe";
 />
   
   <img width="939" alt="Image" 
src="https://github.com/user-attachments/assets/e494c0fc-46ce-4e61-85a1-648ef1a2ef8b";
 />
   
   ### What You Expected?
   
   tinyint(1) should convert to DorisType.TINYINT
   
   ### 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