Uh oh!
There was an error while loading. Please reload this page.
[SPARK-22191] [SQL] Add hive serde example with serde properties - #19420
Closed
crlalam wants to merge 2 commits into
Closed
[SPARK-22191] [SQL] Add hive serde example with serde properties#19420crlalam wants to merge 2 commits into
crlalam wants to merge 2 commits into
Conversation
| // $example off:spark_hive$ | ||
| // Hive serde's are also supported with serde properties. | ||
| String sqlQuery = "CREATE TABLE src_serde(key decimal(38,18), value int) USING hive" |
Member
There was a problem hiding this comment.
Hi, @crlalam.
We use 2-space indentation in general.
FYI, maybe, you can see Scala Coding Style.
Author
There was a problem hiding this comment.
Hi @dongjoon-hyun ,
Thanks for the review and pointing me to the coding style. Fixed coding style issues and updated the pull request. Please take a look.
holdenk
commented
Jan 19, 2018
Contributor
Jenkins OK to test |
holdenk
reviewed
Jan 19, 2018
| // $example off:spark_hive$ | ||
| // Hive serde's are also supported with serde properties. | ||
| String sqlQuery = "CREATE TABLE src_serde(key decimal(38,18), value int) USING hive" + |
Contributor
There was a problem hiding this comment.
The indentation here doesn't match the rest of the function.
holdenk
commented
Jan 19, 2018
Contributor
I love more examples, but is there a place we plan to put this in the documentation? |
AmplabJenkins
commented
Jun 9, 2018
Can one of the admins verify this patch? |
HyukjinKwon
commented
Jul 16, 2018
Member
zifeif2 pushed a commit
to zifeif2/spark
that referenced
this pull request
Nov 22, 2025
Closesapache#17422Closesapache#17619Closesapache#18034Closesapache#18229Closesapache#18268Closesapache#17973Closesapache#18125Closesapache#18918Closesapache#19274Closesapache#19456Closesapache#19510Closesapache#19420Closesapache#20090Closesapache#20177Closesapache#20304Closesapache#20319Closesapache#20543Closesapache#20437Closesapache#21261Closesapache#21726Closesapache#14653Closesapache#13143Closesapache#17894Closesapache#19758Closesapache#12951Closesapache#17092Closesapache#21240Closesapache#16910Closesapache#12904Closesapache#21731Closesapache#21095 Added: Closesapache#19233Closesapache#20100Closesapache#21453Closesapache#21455Closesapache#18477 Added: Closesapache#21812Closesapache#21787 Author: hyukjinkwon <gurwls223@apache.org> Closesapache#21781 from HyukjinKwon/closing-prs.
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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changes were proposed in this pull request?
Added an example for, specifying serde with serde properties for hive tables using OPTIONS.
How was this patch tested?
Verified manually by running examples with run-example.sh. Verified in Scala, java and python.