-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-12871][SQL] Support to specify the option for compression codec. #10805
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
Closed
Closed
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
06774ad
Support for compress option
HyukjinKwon 5e1611d
Correct Scala style and add an alias for codec as compression.
HyukjinKwon d154f02
Move back some codes changed unintentionally.
HyukjinKwon 5b57fc2
Remove Hadoop 1.x configurations
HyukjinKwon e7ebddd
Look up compression first.
HyukjinKwon f4ffbf6
Resolve conflicts
HyukjinKwon adb9eb2
Support for shorten names and change the variable from codec to compr…
HyukjinKwon 432da5d
Correct several nits and validate class names.
HyukjinKwon 4388fe5
Add a newline between function and variables
HyukjinKwon 6400b76
Remove whitespace
HyukjinKwon 56316a8
Several nits and reduce complexity
HyukjinKwon c9217be
Update exception message
HyukjinKwon 0245eea
Simply add a space after comma.
HyukjinKwon cd9f742
Update exception message and get rid of Option.
HyukjinKwon 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 hidden or 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 hidden or 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 hidden or 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
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.
for this one i'd name the internally name compression or compressionCodec since codec can mean a lot of different things.
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 other thing is that i'd create short-form names for the common options, e.g. "gzip" should become GzipCodec. You'd need to look into what the commonly supported formats are and come up with their short names. We should also make sure this is case insensitive.