[CARBONDATA-4280][Doc] Add OVERWRITE keyword explanation in load command#4213
Open
Jeromestein wants to merge 1 commit intoapache:masterfrom
Open
[CARBONDATA-4280][Doc] Add OVERWRITE keyword explanation in load command#4213Jeromestein wants to merge 1 commit intoapache:masterfrom
Jeromestein wants to merge 1 commit intoapache:masterfrom
Conversation
|
Build Failed with Spark 2.3.4, Please check CI http://121.244.95.60:12602/job/ApacheCarbonPRBuilder2.3/5908/ |
|
Build Failed with Spark 2.4.5, Please check CI http://121.244.95.60:12602/job/ApacheCarbon_PR_Builder_2.4.5/4164/ |
|
Build Success with Spark 3.1, Please check CI http://121.244.95.60:12602/job/ApacheCarbon_PR_Builder_3.1/310/ |
| ``` | ||
| The default value is 3, and the range is [1, 300]. | ||
|
|
Contributor
There was a problem hiding this comment.
please revert all these changes below in this PR. Space related changes
Contributor
Author
There was a problem hiding this comment.
OK, I will do it.
| Example: | ||
|
|
||
| ```sql | ||
| CREATE TABLE carbon_load_overwrite(id int, name string, city string, age int) |
Contributor
There was a problem hiding this comment.
No need to add example here. Since it is mentioned in syntax, that could be enough
|
|
||
| * If run on cluster mode, please upload all input files to distributed file system, for example 'hdfs://' for hdfs. | ||
|
|
||
| * [ OVERWRITE ] : |
Contributor
There was a problem hiding this comment.
Suggested change
| * [ OVERWRITE ] : | |
| * If the OVERWRITE keyword is used, then it will overwrite the existing data in the table with new data. |
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 free
to 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.
Why is this PR needed?
CarbonData supports load overwrite now, but no related testcases or documents take care of this feature, except partition tables.
What changes were proposed in this PR?
Add [OVERWRITE] keyword in dml-of-carbondata.md and explain how to use this feature with a simple example.
Does this PR introduce any user interface change?
Is any new testcase added?
JIRA Issue: https://issues.apache.org/jira/browse/CARBONDATA-4280