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
[CARBONDATA-3095] Optimize the documentation of SDK/CSDK #2915
Conversation
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/1380/ |
Build Success with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9638/ |
Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/1590/ |
@KanakaKumar @jackylk @ajantha-bhat please review it. |
@KanakaKumar @jackylk @QiangCai @ajantha-bhat Please review it. |
docs/sdk-guide.md
Outdated
@@ -684,6 +713,17 @@ Find example code at [CarbonReaderExample](https://github.com/apache/carbondata/ | |||
public CarbonReaderBuilder withHadoopConf(Configuration conf); | |||
``` | |||
|
|||
``` | |||
/** | |||
* configure hadoop configuration with key value |
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.
Change to "Updates the hadoop configuration with the given key value"
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.
ok, done
docs/sdk-guide.md
Outdated
@@ -674,6 +693,16 @@ Find example code at [CarbonReaderExample](https://github.com/apache/carbondata/ | |||
public CarbonReaderBuilder filter(Expression filterExpression); | |||
``` | |||
|
|||
``` | |||
/** | |||
* set read batch size before build |
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.
Sets the batch size of records to read
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.
ok, done
18cfd99
to
d51df14
Compare
@KanakaKumar Updated |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/1513/ |
Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/1723/ |
Build Success with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9771/ |
@KanakaKumar @kunal642 @ajantha-bhat CI pass, please check it. |
LGTM |
docs/sdk-guide.md
Outdated
@@ -709,37 +749,7 @@ Find example code at [CarbonReaderExample](https://github.com/apache/carbondata/ | |||
public <T> CarbonReader<T> build(); | |||
``` | |||
### Class org.apache.carbondata.sdk.file.CarbonSchemaReader |
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 is better to mark as deprecated and remove in next version
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.
ok, done
@@ -478,6 +489,16 @@ public CarbonWriter build() throws IOException, InvalidLoadOptionException; | |||
``` | |||
|
|||
### Class org.apache.carbondata.sdk.file.CarbonWriter | |||
|
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.
why we changed the order?
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.
because it should builder, build, and then colse when user use the API, so it's better that the doc should keep the same order
d51df14
to
347571a
Compare
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/1576/ |
Build Success with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9835/ |
Build Failed with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/1788/ |
retest this please |
Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/1581/ |
Build Success with Spark 2.3.1, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/9840/ |
Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/1793/ |
@sraghunandan @KanakaKumar @kunal642 CI pass, please check it. |
Lgtm |
Optimize the documentation of SDK/CSDK. 1.correct one error: after split(int maxSplits) of sdk-guide.md, the format has problem because less ` 2.add doc 3.move the order of doc This closes #2915
Optimize the documentation of SDK/CSDK. 1.correct one error: after split(int maxSplits) of sdk-guide.md, the format has problem because less ` 2.add doc 3.move the order of doc This closes apache#2915
Optimize the documentation of SDK/CSDK.
1.correct one error: after split(int maxSplits) of sdk-guide.md, the format has problem because less `
2.add doc
3.move the order of doc
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
No
No
Yes
No need
Jira-2951