-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[pulsar-io-jdbc] no action set as insert #4862
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
Conversation
Maybe a little more discussion need about whether swallow UNKNOWN action error or export it and trigger fail ack. |
I think it is more appropriate to throw an exception |
@tuteng yeah, agree with this. i prefer to expose it also. |
7ad410b
to
3850047
Compare
run cpp tests |
@sijie this PR need to be merged manually? |
@yittg thank you for your contribution! |
### Motivation jdbc sink treat all record as INSERT before #4358 , now it requires an indispensable action property which seems to be a break change, and we can deal records without any action property as INSERT. ### Modifications treat action not set as INSERT action like before. (cherry picked from commit d8356d8)
Motivation
jdbc sink treat all record as INSERT before #4358 , now it requires an indispensable action property which seems to be a break change, and we can deal records without any action property as INSERT.
Modifications
treat action not set as INSERT action like before.
Verifying this change
This change is already covered by existing tests, such as TestInsertAction.
This change added tests and can be verified as follows: TestNoAction
Does this pull request potentially affect one of the following parts:
Documentation