-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-4574][SQL] Adding support for defining schema in foreign DDL commands. #3431
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 all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0ba70df
draft version
scwf 7787ec7
added SchemaRelationProvider
scwf 9bf12f8
adding test case
scwf 83b6fc3
minor fix
scwf 44eb70c
fix decimal parser issue
scwf 02a662c
style issue
scwf 445b57b
address comments
scwf cf982d2
fixed test failure
scwf 91ad91b
Parse data types in DDLParser.
yhuai ddab984
Merge pull request #19 from yhuai/pr3431yin
scwf 8dfbf7a
more tests for complex data type
scwf d02547f
fix HiveCompatibilitySuite test failure
scwf b621c8f
minor refactory
scwf f1cffe4
Revert "minor refactory"
yhuai f5c22b0
Refactor code and update test cases.
yhuai 1eeb769
Merge pull request #20 from yhuai/pr3431yin
scwf 50a03b0
Use JsonRDD.nullTypeToStringType to convert NullType to StringType.
yhuai baf79b5
Test special characters quoted by backticks.
yhuai f336a16
Merge pull request #21 from yhuai/pr3431yin
scwf a852b10
remove cleanIdentifier
scwf 65e9c73
Revert all changes since applying a given schema has not been testd.
yhuai 38f634e
Remove Option from createRelation.
yhuai 7e79ce5
Merge pull request #22 from yhuai/pr3431yin
scwf 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
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.
It would be nice to move this
class CreateTableUsingtoorg.apache.spark.sql.sources.commands.scalaThere 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.
ok, i will move it