Yulei-Yang opened a new pull request, #27868:
URL: https://github.com/apache/doris/pull/27868

   ## Proposed changes
   
   Currently, inserting into a jdbc table work well only when columns in insert 
stmt are same order with columns in table definition.
   
   If orders are different, bug occurs, like below:
   Issue Number: close #27695
   
   fix another case:
   <img width="745" alt="image" 
src="https://github.com/apache/doris/assets/28004179/4c991a2f-4ec4-4da7-aa5b-1395b27b86c9";>
   insert into jdbc_mysql.db1.test(pname,aid) values('p1',1);
   (172.17.0.2)[INTERNAL_ERROR]UdfRuntimeException: JDBC executor sql has 
error: 
   CAUSED BY: BatchUpdateException: Incorrect integer value: 'p1' for column 
'aid' at row 1
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to