-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
[SPARK-7482][SparkR] Rename some DataFrame API methods in SparkR to match their counterparts in Scala. #6007
Conversation
Merged build triggered. |
Merged build started. |
Test build #32225 has started for PR 6007 at commit |
Test build #32225 has finished for PR 6007 at commit
|
Merged build finished. Test FAILed. |
Test FAILed. |
@sun-rui - Thanks for the PR. However I am having second thoughts about some of the renames. For some functions like However cc @rxin |
@shivaram, I think it is OK to rename APIs to ones that R user are accustomed to, for example, read.df and write.df. It would be better if there are more feedback from R community. |
Yeah lets go with |
Build triggered. |
Build started. |
Test build #32465 has started for PR 6007 at commit |
Test build #32465 has finished for PR 6007 at commit
|
Build finished. Test FAILed. |
Test FAILed. |
@sun-rui Could you bring this up to date with master ? |
Jenkins, retest this please |
Build triggered. |
Build started. |
Test build #32506 has started for PR 6007 at commit |
#' } | ||
|
||
loadDF <- function(sqlCtx, path = NULL, source = NULL, ...) { | ||
read.df <- loadDF <- function(sqlCtx, path = NULL, source = NULL, ...) { |
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.
I didn't know this was a valid way to declare alias functions in R. Hmm - But it seems to go against the style in the rest of the file. Could we just declare a new function read.df
similar to other aliases ?
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.
fixed.
Test build #32506 has finished for PR 6007 at commit
|
Build finished. Test PASSed. |
Test PASSed. |
…atch their counterparts in Scala.
rebased to master. |
Merged build triggered. |
Merged build started. |
Test build #32582 has started for PR 6007 at commit |
Thanks for the update. LGTM. Will wait for Jenkins and then merge |
Test build #32582 has finished for PR 6007 at commit
|
Merged build finished. Test PASSed. |
Test PASSed. |
…match their counterparts in Scala. Author: Sun Rui <rui.sun@intel.com> Closes #6007 from sun-rui/SPARK-7482 and squashes the following commits: 5c5cf5e [Sun Rui] Implement alias loadDF() as a new function. 3a30c10 [Sun Rui] Rename load()/save() to read.df()/write.df(). Also add loadDF()/saveDF() as aliases. 9f569d6 [Sun Rui] [SPARK-7482][SparkR] Rename some DataFrame API methods in SparkR to match their counterparts in Scala. (cherry picked from commit df9b94a) Signed-off-by: Shivaram Venkataraman <shivaram@cs.berkeley.edu>
…match their counterparts in Scala. Author: Sun Rui <rui.sun@intel.com> Closes apache#6007 from sun-rui/SPARK-7482 and squashes the following commits: 5c5cf5e [Sun Rui] Implement alias loadDF() as a new function. 3a30c10 [Sun Rui] Rename load()/save() to read.df()/write.df(). Also add loadDF()/saveDF() as aliases. 9f569d6 [Sun Rui] [SPARK-7482][SparkR] Rename some DataFrame API methods in SparkR to match their counterparts in Scala.
…match their counterparts in Scala. Author: Sun Rui <rui.sun@intel.com> Closes apache#6007 from sun-rui/SPARK-7482 and squashes the following commits: 5c5cf5e [Sun Rui] Implement alias loadDF() as a new function. 3a30c10 [Sun Rui] Rename load()/save() to read.df()/write.df(). Also add loadDF()/saveDF() as aliases. 9f569d6 [Sun Rui] [SPARK-7482][SparkR] Rename some DataFrame API methods in SparkR to match their counterparts in Scala.
…match their counterparts in Scala. Author: Sun Rui <rui.sun@intel.com> Closes apache#6007 from sun-rui/SPARK-7482 and squashes the following commits: 5c5cf5e [Sun Rui] Implement alias loadDF() as a new function. 3a30c10 [Sun Rui] Rename load()/save() to read.df()/write.df(). Also add loadDF()/saveDF() as aliases. 9f569d6 [Sun Rui] [SPARK-7482][SparkR] Rename some DataFrame API methods in SparkR to match their counterparts in Scala.
No description provided.