Yukang-Lian opened a new pull request, #33209:
URL: https://github.com/apache/doris/pull/33209

   
   
   Problem:
   When partially updating columns without specifying the auto-increment 
column, and the imported data contains new keys, an error stating the 
auto-increment column could not be found occurs.
   
   Reason:
   The logic for partial column updates does not account for new keys in 
auto-increment columns. Since auto-increment columns can be generated by the 
system, it's possible to omit this column data during import. However, partial 
column updates treat this as a regular column, expecting it to be nullable or 
have a default value for automatic filling, overlooking the fact that 
auto-increment columns can also be auto-filled. This oversight leads to the 
error.
   
   Solution:
   Incorporate a check for auto-increment columns into the partial column 
update logic, and include the logic for generating auto-increment column values 
in the process of completing partial updates.
   
   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--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