morningman opened a new pull request #8355:
URL: https://github.com/apache/incubator-doris/pull/8355
# Proposed changes
Issue Number: close #8354
## Problem Summary:
1. support SHOW LAST INSERT
In the current implementation, the insert operation returns a json
string to describe the result information
of the insert. But this information is in the session track field of the
mysql protocol,
and it is difficult to obtain programmatically.
Therefore, I provide a new syntax `show last insert` to explicitly
obtain the result of the latest insert operation,
and return a normal query result set to facilitate the user to obtain
the result information of the insert.
2. Fix a bug described in #8354
## Checklist(Required)
1. Does it affect the original behavior: (No)
3. Has unit tests been added: (No Need)
4. Has document been added or modified: (Yes)
5. Does it need to update dependencies: (No)
6. Are there any changes that cannot be rolled back: (No)
## 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]