-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-4131] Support "Writing data into the filesystem from queries" #18975
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 1 commit
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
6ca7771
add insert overwrite local directory
janewangfb a975536
Add Unittests
janewangfb a15bf4e
fix local path
janewangfb 9f596fd
Merge branch 'master' into port_local_directory
janewangfb b9db02e
fix style
janewangfb e516bec
Merge branch 'master' into port_local_directory
janewangfb e05624f
condense storage
janewangfb 7f5664d
change InsertInto to InsertIntoTable
janewangfb d50b3a2
add InsertIntoDirectory
janewangfb 61a18a2
update insertInto
janewangfb 4c19aaf
SQLQuerySuite passed
janewangfb 47fde8a
fix comments
janewangfb 068662a
Merge branch 'master' into port_local_directory
janewangfb da7065b
Add tableProdier
janewangfb 7f4b488
Add InsertIntoDataSourceDirCommand
janewangfb 051018e
Merge branch 'master' into port_local_directory
janewangfb 73f605e
fix style
janewangfb 8261b39
fix style
janewangfb 163c124
Merge branch 'master' into port_local_directory
janewangfb 0882dd1
Address gatorsmile's comments
janewangfb c813ad8
Use withTempDir
janewangfb bc5424c
line length
janewangfb 675ffd7
merge master
janewangfb f36e933
Address gatorsmile's comment
janewangfb 64f37f4
fix typo
janewangfb b2068ce
Merge branch 'master' into port_local_directory
janewangfb 8ebe5e2
Address gatorsmile's comments
janewangfb 51f9a0a
fix comments and style
janewangfb e2db5e1
add more comments
janewangfb 7bb5c85
Merge branch 'master' into port_local_directory
janewangfb 2e7a29b
Merge branch 'master' into port_local_directory
janewangfb 7ccbde4
Address gatorsmile's comments
janewangfb 52350e8
fix style
janewangfb 2ec9947
address Tejas' comment
janewangfb 05d9d20
Merge branch 'master' into port_local_directory
janewangfb 392593b
check point
janewangfb 511cfc3
checkpoint
janewangfb 77948bb
Merge insertIntoTable and insertIntoDirectory
janewangfb fd9322c
refactoring temp dir
janewangfb e590847
add TODO for tmpPath
janewangfb d1b4ec8
Merge branch 'master' into port_local_directory
janewangfb dd6a418
use tmpPath
janewangfb c2c693c
fix style
janewangfb e9c88b5
add exists check
janewangfb 62370fd
Merge branch 'master' into port_local_directory
janewangfb b00acdc
Merge branch 'master' into port_local_directory
janewangfb b64520b
fix build
janewangfb 3aaf6e8
fix build failure
janewangfb b461e00
fix build failure
janewangfb e9c24de
address's gatorsmile's comment
janewangfb 28fcb39
Merge branch 'master' into port_local_directory
janewangfb 0c03a2b
address gatorsmile's comment
janewangfb 6c24b1b
remove unused import
janewangfb c4ab411
merge master
janewangfb 0ec103e
address gatorsmile's comments
janewangfb 160c0ec
fix style
janewangfb 95ebfd3
add more unittest
janewangfb 4a5ff29
add multi insert
janewangfb c99872b
Merge branch 'master' into port_local_directory
janewangfb 449249e
address gatorsmile's comments
janewangfb 7919041
address viirya's comment
janewangfb aeb5d5e
address viirya's comment
janewangfb 81382df
Merge branch 'master' into port_local_directory
janewangfb f93d57a
address viirya's comment
janewangfb 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
address Tejas' comment
- Loading branch information
commit 2ec9947af571691966e979e17aec12d3d683decf
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
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.
curious: what does this mean ?
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 means for insert into can only specify one case, either
insert overwrite local directory path rowFormat....
or
insert overwrite local directiory path using....
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.
Add a test case?
Uh oh!
There was an error while loading. Please reload this page.
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.
@janewangfb : thanks for the explanation. I got confused if this would have affected multi-inserts. ie.
One can even mix-in that with
INSERT OVERWRITE TABLE ...in hive. You should have a test case for that.Uh oh!
There was an error while loading. Please reload this page.
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 can be rewritten to
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.
@gatorsmile, yes, that is more concise. Updated the code.
@tejasapatil added testcases.