Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[SNOW-851840] Enable tombstone record ingestion in Snowpipe Streaming #688
[SNOW-851840] Enable tombstone record ingestion in Snowpipe Streaming #688
Changes from 37 commits
f3916c5
eec908e
62c1f24
b39a691
290aad2
240d968
a2c53e6
cd09713
928b943
00bee04
1dde035
62e4757
94ac2ca
e73a063
553999b
754824e
6c20656
b85f733
4ab7ffa
cafdd42
37dd5a7
65aab68
cfd6f54
32d7a60
014b8eb
434ebc2
6583657
abc32d3
4ba153e
8673464
ffa955b
a6f76d7
07e0db4
e644e90
27b6641
631f75a
c815b48
eef2642
06c69ba
abeaf39
3fc817f
3fd589b
21cc65a
f516110
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why we can't put the key when the keySchema is null but not the key? This change might be risky and introduce a behavior change for both Snowpipe and Snowpipe Streaming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the current code will NPE on the next if statement if keySchema is null.
handleNativeRecord() prevents null keySchemas from being passed into putKey, however we should throw a better error if we ever get a null keySchema, so I added a null check.
This shouldn't be risky because we are changing the error thrown from NPE to a Snowflake error, what do you think?