Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support specifying label in insert stmt #1763

Closed
morningman opened this issue Sep 8, 2019 · 0 comments
Closed

Support specifying label in insert stmt #1763

morningman opened this issue Sep 8, 2019 · 0 comments
Assignees

Comments

@morningman
Copy link
Contributor

morningman commented Sep 8, 2019

In the current implementation, the user cannot specify a Label for the INSERT command, which can lead to some usage problems.

When the user executes an INSERT command, but for some reason the connection is disconnected, the user will not know if the INSERT command is successful.

So I think we should support specifying label in insert stmt, not just using a UUID automatically
assigned by system. Because this UUID can only be returned when the statement return successfully.

The same problem occurs in the stream load job. The problem with Stream load is that although users can specify Label, they cannot view the history of stream load jobs through label. So when the connection is interrupted during the execution of Stream load, the user can not know the situation of this load job.

So, in the result of stream load import return, if it is a "Label Already Exists" error, it will return the status of the load job corresponding to this label, RUNNING or FINISHED.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant