You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by dongjoon-hyun <gi...@git.apache.org> on 2016/06/17 10:57:36 UTC

[GitHub] spark pull request #13734: [SPARK-14995][R] Add `since` tag in Roxygen docum...

GitHub user dongjoon-hyun opened a pull request:

    https://github.com/apache/spark/pull/13734

    [SPARK-14995][R] Add `since` tag in Roxygen documentation for SparkR API methods

    ## What changes were proposed in this pull request?
    
    This PR adds `since` tags to Roxygen documentation according to the previous documentation archive.
    
    ## How was this patch tested?
    
    Manual.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dongjoon-hyun/spark SPARK-14995

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/13734.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13734
    
----
commit 8f029abd9b768d58da38b37aece29ee89ac008aa
Author: Dongjoon Hyun <do...@apache.org>
Date:   2016-06-17T10:55:49Z

    [SPARK-14995][R] Add `since` tag in Roxygen documentation for SparkR API methods

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    For other important issue about `see also`, all the previous doc look like that.
    
    http://spark.apache.org/docs/1.6.0/api/R/approxCountDistinct.html
    http://spark.apache.org/docs/1.5.0/api/R/approxCountDistinct.html
    http://spark.apache.org/docs/latest/api/R/approxCountDistinct.html
    
    So, it's a little bit beyond of the scope of this PR. It's long lasting document restructuring issue.
    I think we need to design(or decide) how to restructure R doc by considering `raname`, `family` and `see also` issue all together.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Do you think we should annotate with name even when they are on the same rd/page?
    
    eg. there's only approxCountDistinct on this
    ![image](https://cloud.githubusercontent.com/assets/8969467/16189074/73d35bb6-368d-11e6-9c93-727bd5e749e1.png)
    (btw, the reason for duplicated "see also" is from multiple @family tag - could you clean them up if you see them?)
    
    Originally my thought was we would only add name in front of version when there were multiple function going to the same page (eg. agg, summarize) AND that they have different starting release.
    
    Like
    ![image](https://cloud.githubusercontent.com/assets/8969467/16189254/389d4c40-368e-11e6-9fe0-e7e588724be8.png)
    
    But not in this case
    ![image](https://cloud.githubusercontent.com/assets/8969467/16189146/c6ff81ca-368d-11e6-99ca-a033820301b2.png)
    (Here's another bug, count shouldn't collapse with agg/summarize?)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60702 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60702/consoleFull)** for PR 13734 at commit [`8f029ab`](https://github.com/apache/spark/commit/8f029abd9b768d58da38b37aece29ee89ac008aa).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by shivaram <gi...@git.apache.org>.
Github user shivaram commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Yeah since the notes appear in a separate section I think its better to be more explicit -- so `read.df since 1.6.0` will be good for these cases


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60765/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60702/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Thank you for opinions! I'll revise and update the html doc.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    I'm not sure what is the process but historically doc only changes are ok to go a bit later in the RC/release cut off.
    
    I am ok with `@note` style though I'm concerned that it would be hard to follow for casual R contributors.
    
    Regarding the "see also" or the overall doc structure, yes, that has been an ongoing issue with R doc. Most of others are ok and there is a pattern to follow. It is outside of the scope of this PR. These are bugs in the doc.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60765 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60765/consoleFull)** for PR 13734 at commit [`0092967`](https://github.com/apache/spark/commit/0092967df878bbaaf5ad2a007d56cc68146daea2).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #13734: [SPARK-14995][R] Add `since` tag in Roxygen docum...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/13734


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60784 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60784/consoleFull)** for PR 13734 at commit [`f2ffcdd`](https://github.com/apache/spark/commit/f2ffcddacedc0e848f9823b7840ce6ac0cf9bdd8).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #13734: [SPARK-14995][R] Add `since` tag in Roxygen docum...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13734#discussion_r67556129
  
    --- Diff: R/pkg/R/SQLContext.R ---
    @@ -213,7 +213,7 @@ createDataFrame <- function(x, ...) {
     #' @aliases createDataFrame
     #' @export
     #' @method as.DataFrame default
    -
    +#' @note since 2.0.0
    --- End diff --
    
    I thought we had as.DataFrame before 2.0?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Hi, @shivaram , @felixcheung , @sun-rui .
    
    It's the first draft. There is a little ambiguity like the following.
    
    - `SparkDataFrame` is marked as `@note since 2.0.0` because `DataFrame` changed into `SparkDataFrame` in Spark 2.0.
    - However, I used the oldest versions for the functions using `SparkDataFrame`. (They used `DataFrame` before.)
    
    I think this is more natural.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #13734: [SPARK-14995][R] Add `since` tag in Roxygen docum...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13734#discussion_r67556777
  
    --- Diff: R/pkg/R/generics.R ---
    @@ -20,157 +20,196 @@
     # @rdname aggregateRDD
     # @seealso reduce
     # @export
    +# @note since 1.5.0
    --- End diff --
    
    I'm not sure we need to put @note on the generic. Basically this merges with the other roxygen block because of the @rdname tag, so it should already has one that. More concerning is whether doing it here would double it in the output html file - could you check?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Thank you for narrowing the scope. Indeed, this seems to be an experimental attempt.
    I rebased to resolved the conflict. As @felixcheung mentioned, the use of function signature is the remains.
    The function signature comes due to the following: https://home.apache.org/~dongjoon/spark-2.0.0-docs/api/R/show.html
    ```
    Note
    show(Column) since 1.4.0
    show(GroupedData) since 1.4.0
    show(SparkDataFrame) since 1.4.0
    show(WindowSpec) since 2.0.0
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Thank you, @shivaram and @felixcheung .
    I'm really happy since this became a part of Spark 2.0 !!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Hi, All.
    For review, I uploaded the generated R doc here.
    
    https://home.apache.org/~dongjoon/spark-2.0.0-docs/api/R/
    
    The remaining issue is the **multiple** notes like the followings due to merging notes.
    
    https://home.apache.org/~dongjoon/spark-2.0.0-docs/api/R/read.df.html
    
    ```
    Note
    since 1.4.0
    since 1.6.0
    ```
    
    How can we handle this nicely?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60784/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    It seems you're concerning multiple issue. I'll focus on the same versions issue first.
    
    The principle of this PR is simply adding `since` tag for all exposed functions.
    
    IMHO, that is better since we should consider how to maintain the versions in the future. 
    
    For example, the case of `count`, `agg`, `summarize`, let us assume that we add another function `agg2` in ther future.
     - Case 1: If we didn't keep version 1.4.0 for all functions, new contributor should update old functions together.
     - Case 2: If we keep version 1.4.0 for all functions, new contributor can add `agg2` without considering old functions.
    
    I think `Case 1` is not good for maintainability.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Thank you, @shivaram !


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60784 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60784/consoleFull)** for PR 13734 at commit [`f2ffcdd`](https://github.com/apache/spark/commit/f2ffcddacedc0e848f9823b7840ce6ac0cf9bdd8).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60702 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60702/consoleFull)** for PR 13734 at commit [`8f029ab`](https://github.com/apache/spark/commit/8f029abd9b768d58da38b37aece29ee89ac008aa).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by shivaram <gi...@git.apache.org>.
Github user shivaram commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Ok. I think this is a reasonable proposal. I will take one more final pass on this PR today


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by shivaram <gi...@git.apache.org>.
Github user shivaram commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    - Yeah we can make documentation changes after the RC as the doc updates are pushed separately to the Spark website. However I prefer to get R doc changes in before the RC as these are the ones that users will see when they do a `?dapply`. 
    
    - Also I think the version numbers in `@note` is a bit of an experiment at this point -- longer term this is something we should discuss with the `roxygen2` authors and see whats a good way forward.
    
    - Finally I agree that there are existing issues when we merge multiple functions in the same rd file. It will be good to tackle those, but we can use a different PR for that


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Hi, @shivaram and @felixcheung .
    Now, PR and the generated HTML site are up-to-date again. (For HTML site, you may need to refresh.)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    hopefully we don't have a lot of these...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #13734: [SPARK-14995][R] Add `since` tag in Roxygen docum...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13734#discussion_r67557255
  
    --- Diff: R/pkg/R/generics.R ---
    @@ -20,157 +20,196 @@
     # @rdname aggregateRDD
     # @seealso reduce
     # @export
    +# @note since 1.5.0
    --- End diff --
    
    Yep. I'll remove all notes on generics.R and check the output html.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    By the way, before discussing further, should I retarget this PR for Spark 2.1.0 ?
    I think this PR misses the deadline a little bit.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Hmm.. there isn't really a good way to do that due to how roxgen2 collapses the 2 blocks. In some cases other parts like parameter list could get very confusing too.
    
    I think we could review them and consider separating them into different rd.
    In this case it makes sense to have one rd for this since they are "alias", then perhaps the only way is to add to the note to say `#' @note read.df since 1.6.0"



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60723 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60723/consoleFull)** for PR 13734 at commit [`df3e039`](https://github.com/apache/spark/commit/df3e0396757bf3c2ceea1ae71f9de64c0d672e0c).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60866/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60866 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60866/consoleFull)** for PR 13734 at commit [`dbb5fc8`](https://github.com/apache/spark/commit/dbb5fc8ade7f758af5076ed2591929ad4ce6a034).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60866 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60866/consoleFull)** for PR 13734 at commit [`dbb5fc8`](https://github.com/apache/spark/commit/dbb5fc8ade7f758af5076ed2591929ad4ce6a034).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Cool! Thank you for pulling this together. Yea, I'm not sure how to handle SparkDataFrame either and I think what you have is reasonable. (SparkDataFrame should be fairly transparent to users anyway)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60723 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60723/consoleFull)** for PR 13734 at commit [`df3e039`](https://github.com/apache/spark/commit/df3e0396757bf3c2ceea1ae71f9de64c0d672e0c).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    **[Test build #60765 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60765/consoleFull)** for PR 13734 at commit [`0092967`](https://github.com/apache/spark/commit/0092967df878bbaaf5ad2a007d56cc68146daea2).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by shivaram <gi...@git.apache.org>.
Github user shivaram commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    LGTM. Thanks for this PR @dongjoon-hyun -- This is very useful to have going forward.
    
    Merging this to master, branch-2.0


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Thank you, @felixcheung . I removed the note on `dataFrame`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #13734: [SPARK-14995][R] Add `since` tag in Roxygen docum...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13734#discussion_r67556931
  
    --- Diff: R/pkg/R/SQLContext.R ---
    @@ -213,7 +213,7 @@ createDataFrame <- function(x, ...) {
     #' @aliases createDataFrame
     #' @export
     #' @method as.DataFrame default
    -
    +#' @note since 2.0.0
    --- End diff --
    
    Oh, right. It must be 1.6.0. I'll fix that.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60723/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #13734: [SPARK-14995][R] Add `since` tag in Roxygen docum...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13734#discussion_r67597431
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -59,6 +60,7 @@ setMethod("initialize", "SparkDataFrame", function(.Object, sdf, isCached) {
     #' @export
     #' @param sdf A Java object reference to the backing Scala DataFrame
     #' @param isCached TRUE if the SparkDataFrame is cached
    +#' @note dataFrame since 2.0.0
    --- End diff --
    
    you might not need to call this out with a separate note btw, this is an internal function to help wrap the returned Java object "handle" to a R class, not intend to be called by users.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Hi, @shivaram and @felixcheung .
    Now the document is updated with master and shows merged notes correctly. I manually checked all the merged notes and used function signatures for overloaded functions.
    ```
    Note
    sparkR.stop since 1.4.0
    sparkR.session.stop since 2.0.0
    ```
    https://home.apache.org/~dongjoon/spark-2.0.0-docs/api/R/sparkR.session.stop.html


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    so if we are ok with `@note approxCountDistinct(Column) since 1.4.0` as the form for now I think we are ok with this PR.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    Thank you for review, @felixcheung !


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #13734: [SPARK-14995][R] Add `since` tag in Roxygen documentatio...

Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/13734
  
    I reviewed all of it and they looked roughly correct for me, drawing from memory :) 👍 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org