-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-8909][Documentation] Nice to have all the examples in scala, java,python, R to be same in sql-programming-guide #7299
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
Conversation
…ng-guide#Manually Specifying Options to be in sync with java,python, R version
Can one of the admins verify this patch? |
@@ -828,7 +828,7 @@ using this syntax. | |||
|
|||
{% highlight scala %} | |||
val df = sqlContext.read.format("json").load("examples/src/main/resources/people.json") | |||
df.select("name", "age").write.format("json").save("namesAndAges.json") | |||
df.select("name", "age").write.format("parquet").save("namesAndAges.json") |
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.
the extension still says .json
. Do we need to change that too?
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.
agree @andrewor14 . thanks for this :)
ok to test. |
Merged build triggered. |
Merged build started. |
@aloknsingh Could you set more proper title like the corresponding issue in JIRA? |
Test build #36839 has started for PR 7299 at commit |
@sarutak . Thanks for the comments. I have changed it to "Nice to have all the examples in scala, java,python, R to be same in sql-programming-guide" . Please feel free to change the title as you see right. |
@aloknsingh Sorry I mean we should have more proper title of this PR, not in JIRA. Do you mind changing it? We can't change the title of PRs which someone created. |
Test build #36839 has finished for PR 7299 at commit
|
Merged build finished. Test PASSed. |
Thanks - I've merged this. |
…ng-guide#Manually Specifying Options to be in sync with java,python, R version Author: Alok Singh <“[email protected]”> Closes #7299 from aloknsingh/aloknsingh_SPARK-8909 and squashes the following commits: d3c20ba [Alok Singh] fix the file to .parquet from .json d476140 [Alok Singh] [SPARK-8909][Documentation] Change the scala example in sql-programming-guide#Manually Specifying Options to be in sync with java,python, R version (cherry picked from commit 8f3cd93) Signed-off-by: Reynold Xin <[email protected]>
@sarutak I have changed it as per your comments |
@aloknsingh Thanks :) |
…ng-guide#Manually Specifying Options to be in sync with java,python, R version