-
Notifications
You must be signed in to change notification settings - Fork 58
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-983635 Allow ZSTD compression algorithm #654
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a7927d5
SNOW-983635 Set ZSTD as default compression algorithm
sfc-gh-lthiede 5db8db3
SNOW-983635 Print supported Compression algos
sfc-gh-lthiede 326f9b4
SNOW-983635 Test creating a variable of type RecyclingBufferPool
sfc-gh-lthiede fe06a7f
SNOW-983635 Add ZSTD dependency
sfc-gh-lthiede 189e894
SNOW-983635 Add version number to zstd dependency
sfc-gh-lthiede c95d2fe
SNOW-983635 Sort pom
sfc-gh-lthiede 86c5dc5
SNOW-983635 Use same version of zstd dependency as parquet
sfc-gh-lthiede efaf824
SNOW-983635 Reexecute probably failing static member initialization
sfc-gh-lthiede 4cee250
SNOW-983635 Print UnsatisfiedLinkError
sfc-gh-lthiede 01f7337
SNOW-983635 Don't relocated com.github.luben.zstd
sfc-gh-lthiede df2938f
SNOW-983635 Don't use luben.zstd directly
sfc-gh-lthiede cb52f29
SNOW-983635 Hopefully correctly exclude zstd library from shading
sfc-gh-lthiede c996081
SNOW-983635 Explicitly exclude zstd from shading in another part of p…
sfc-gh-lthiede 6f8053b
SNOW-983635 Add tests for ZSTD compression
sfc-gh-lthiede 4b48a85
SNOW-983635 Remove test that only made sure that I configured the com…
sfc-gh-lthiede 67c3a69
SNOW-983635 Add zstd-jni to dependencies in pom.xml
sfc-gh-lthiede 7f09641
SNOW-983635 Sort pom
sfc-gh-lthiede 24148e3
SNOW-983635 Remove direct zstd dependency
sfc-gh-lthiede 7143018
SNOW-983635 Add zstd-jni as explicit dependency but exclude it from c…
sfc-gh-lthiede ab25c68
Delete dependency-reduced-pom.xml
sfc-gh-lthiede 601d01b
SNOW-983635 Add zstd-jni dependency to README.md and make ZSTD non de…
sfc-gh-lthiede a8cdc30
SNOW-983635 Remove unnecessary new line
sfc-gh-lthiede ff91de2
SNOW-983635 Parameterise StreamingIngestIT.java to run with GZIP and …
sfc-gh-lthiede 0e743c8
SNOW-983635 Add even more datatype tests with ZSTD
sfc-gh-lthiede 17c4b25
SNOW-983635 consistently use compile in public pom
sfc-gh-lthiede 94c62bf
SNOW-983635 Fix AbstractDataTypeTest and remove zstd-jni from depende…
sfc-gh-lthiede 584e75c
SNOW-983635 Make zstd-jni a runtime dependency
sfc-gh-lthiede 4574c8e
SNOW-983635 Sort dependencies is pom
sfc-gh-lthiede fa71d94
SNOW-983635 Temporarily set ZSTD as default again to test recent changes
sfc-gh-lthiede a95b87f
SNOW-983635 Revert setting ZSTD as default compression algorithm
sfc-gh-lthiede File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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 decide to treat this as one of the special dependencies? @sfc-gh-lsembera has more context here if you need more help
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.
Hi, the problem is that zstd-jni can't be shaded. Because of that we can't include it in our sdk's shaded jar. It has to be provided separately when customers want to build their application with our sdk. I thought this was reason enough to list it with our dependencies.
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.
@sfc-gh-lsembera Any idea if we can do better here? Or any potential issue? I'm concerned that we keep adding to this list
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.
I think it is good if shade fewer dependencies, and this change goes in that direction. Another advantage of the unshaded approach here is that if the customer does not want to use zstd and wants smaller distribution, they can exclude the zstd jar from their maven project.
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.
Looks like we stop relocating
com.github.luben
, is there any concern that this is a behavior change?