-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-5212][SQL] Add support of schema-less, custom field delimiter and SerDe for HiveQL transform #4014
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
[SPARK-5212][SQL] Add support of schema-less, custom field delimiter and SerDe for HiveQL transform #4014
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f561c37
Add support of schema-less script transformation.
viirya ccee49e
Add unit test.
viirya b1729d9
Fix style.
viirya 7a48e42
Add support of custom field delimiter.
viirya ab22f7b
Fix style.
viirya 32d3046
Add SerDe support.
viirya be2c3fc
Fix style.
viirya 799b5e1
Call getSerializedClass instead of using Text.
viirya 7a14f31
Fix bug.
viirya 9a6dc04
setRecordReaderID is introduced in 0.13.1, use reflection API to call…
viirya 21727f7
Move schema-less output to proper place. Use multilines instead of a …
viirya 6000889
Wrap input and output schema into ScriptInputOutputSchema.
viirya 37bd391
Merge remote-tracking branch 'upstream/master' into schema_less_trans
viirya ccb71e3
Refactor codes for comments.
viirya a422562
Use createQueryTest for unit tests and remove unnecessary imports.
viirya 575f695
Add Hive golden answer files for new unit tests.
viirya aa10fbd
Add Hive golden answer files again.
viirya a137933
Merge remote-tracking branch 'upstream/master' into schema_less_trans
viirya ac2d1fe
Refactor codes for comments.
viirya 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
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
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.
I can understand why removing the reader thread, but it would be helpful in the future if we support the
streaming style output, which will save lots of memory, do you might leave it unchanged? or at least keep theTODOThere 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.
If I am wrong please let me know, but I suppose that because I use an iterator here so it shouldn't already be the streaming style output and do as what the
TODOwants?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.
Oh, got it, that make sense.