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

[Bug][Manager] DuplicateKeyException when save StreamSinkField #4473

Closed
2 tasks done
kipshi opened this issue Jun 1, 2022 · 0 comments · Fixed by #4475
Closed
2 tasks done

[Bug][Manager] DuplicateKeyException when save StreamSinkField #4473

kipshi opened this issue Jun 1, 2022 · 0 comments · Fixed by #4475
Assignees
Labels
Milestone

Comments

@kipshi
Copy link
Contributor

kipshi commented Jun 1, 2022

What happened

SQL: insert into stream_sink_field ( id, inlong_group_id, inlong_stream_id, sink_id, sink_type, field_name, field_type, field_comment, source_field_name, source_field_type, ext_params, is_meta_field, field_format, rank_num, is_deleted ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) , ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )

Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '1' for key 'PRIMARY'

; Duplicate entry '1' for key 'PRIMARY'; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '1' for key 'PRIMARY'

What you expected to happen

save successful

How to reproduce

Set id=1 in SinkField

Environment

No response

InLong version

master

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

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

Successfully merging a pull request may close this issue.

2 participants