morningman opened a new issue #3102: [Insert] Encounter label already exist exception URL: https://github.com/apache/incubator-doris/issues/3102 **Describe the bug** When executing insert stmt with label like: ``` insert into tbl with label abc select 1,2; ``` If first execution encounter some exception like `tablet xxx has few replica`, then if we execute with same label again, we will meet exception: ``` ERROR 1064 (HY000): errCode = 2, detailMessage = Label [abc] has already been used. ``` Which is unexpected. **Why** Because the first exception is thrown in analysis phase, and we didn't abort the transaction of this insert operation when encountering analysis exception.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org