You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by rxin <gi...@git.apache.org> on 2016/05/31 07:26:44 UTC

[GitHub] spark pull request: [SPARK-15662][SQL] Add since annotation for cl...

GitHub user rxin opened a pull request:

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

    [SPARK-15662][SQL] Add since annotation for classes in sql.catalog

    ## What changes were proposed in this pull request?
    This patch does a few things:
    
    1. Adds since version annotation to methods and classes in sql.catalog.
    2. Fixed a typo in FilterFunction and a whitespace issue in spark/api/java/function/package.scala
    3. Added "database" field to Function class.
    
    ## How was this patch tested?
    Updated unit test case for "database" field in Function class.
    
    


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

    $ git pull https://github.com/rxin/spark SPARK-15662

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

    https://github.com/apache/spark/pull/13406.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 #13406
    
----
commit 798329a37b8690657e3210c5d0db17b6064c1b9c
Author: Reynold Xin <rx...@databricks.com>
Date:   2016-05-31T07:24:54Z

    [SPARK-15662][SQL] Add since annotation for classes in sql.catalog

----


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/13406
  
    cc @yhuai


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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/13406#discussion_r65262391
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    It isn't there. Apache Git Repository shows that line 25 is the last one.
    ```
      20 /**
      21  * Set of interfaces to represent functions in Spark's Java API. Users create implementations of
      22  * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      23  * Java programming guide for more details.
      24  */
      25 package object function 
    ```


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

    https://github.com/apache/spark/pull/13406#discussion_r65265548
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    I still don't get it. There is no trailing whitespace (I deleted it), and there is an extra blank line. What are you looking for exactly?



---
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: [SPARK-15662][SQL] Add since annotation for cl...

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

    https://github.com/apache/spark/pull/13406#issuecomment-222633493
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59641/
    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: [SPARK-15662][SQL] Add since annotation for classes in s...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/13406
  
    LGTM


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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/13406#discussion_r65264904
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    Now. I see what you mean. We are mentioning different one.
    Your example is about `carriage return`.
    What I meat is `org.scalastyle.file.WhitespaceEndOfLineChecker`. 
    In 'src/scala', please choose one scala file and delete the last empty line and run `dev/scalastyle`.
    You can see the violation.


---
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: [SPARK-15662][SQL] Add since annotation for cl...

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

    https://github.com/apache/spark/pull/13406#discussion_r65140246
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/catalog/interface.scala ---
    @@ -41,6 +49,16 @@ class Database(
     }
     
     
    +/**
    + * A table in Spark, as returned by the `listTables` method in [[Catalog]].
    --- End diff --
    
    Use `[[Catalog#listTables]]`


---
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: [SPARK-15662][SQL] Add since annotation for cl...

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/13406#discussion_r65136736
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    Could you add one last blank line, too?
    IntelliJ shows one blank line, but it does not exists in Git repository.
    So, I added one in my 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 pull request: [SPARK-15662][SQL] Add since annotation for cl...

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

    https://github.com/apache/spark/pull/13406#issuecomment-222612163
  
    **[Test build #59641 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/59641/consoleFull)** for PR 13406 at commit [`798329a`](https://github.com/apache/spark/commit/798329a37b8690657e3210c5d0db17b6064c1b9c).


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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/13406#discussion_r65264316
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    @rxin . Yep. It's not worth of it.
    Let's forget about this for now.
    Please never mind my last comment.


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

    https://github.com/apache/spark/pull/13406#discussion_r65215714
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    there is already a new line here


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

    https://github.com/apache/spark/pull/13406#discussion_r65214361
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/catalog/interface.scala ---
    @@ -25,6 +25,14 @@ import org.apache.spark.sql.catalyst.DefinedByConstructorParams
     // Note: all classes here are expected to be wrapped in Datasets and so must extend
     // DefinedByConstructorParams for the catalog to be able to create encoders for them.
     
    +/**
    + * A database in Spark, as returned by the `listDatabases` method defined in [[Catalog]].
    --- End diff --
    
    There are multiple of them so these links won't work.
    
    On Tuesday, May 31, 2016, Jacek Laskowski <no...@github.com> wrote:
    
    > In sql/core/src/main/scala/org/apache/spark/sql/catalog/interface.scala
    > <https://github.com/apache/spark/pull/13406#discussion_r65140165>:
    >
    > > @@ -25,6 +25,14 @@ import org.apache.spark.sql.catalyst.DefinedByConstructorParams
    > >  // Note: all classes here are expected to be wrapped in Datasets and so must extend
    > >  // DefinedByConstructorParams for the catalog to be able to create encoders for them.
    > >
    > > +/**
    > > + * A database in Spark, as returned by the `listDatabases` method defined in [[Catalog]].
    >
    > Use [[Catalog#listDatabases]]
    >
    > —
    > You are receiving this because you authored the thread.
    > Reply to this email directly, view it on GitHub
    > <https://github.com/apache/spark/pull/13406/files/798329a37b8690657e3210c5d0db17b6064c1b9c#r65140165>,
    > or mute the thread
    > <https://github.com/notifications/unsubscribe/AATvPL84lRsioxEvoYyBOZ1x1KqxScVvks5qG_BOgaJpZM4IqP2G>
    > .
    >



---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

    https://github.com/apache/spark/pull/13406#discussion_r65259546
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    it is there isn't it?



---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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/13406#discussion_r65240101
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    Could you take a look my PR again? Or, 
    
    https://git-wip-us.apache.org/repos/asf?p=spark.git;a=blob;f=core/src/main/java/org/apache/spark/api/java/function/package.scala;h=0f9bac716416264aeba175b90c0b32570bc6dd81;hb=HEAD


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

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


---
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: [SPARK-15662][SQL] Add since annotation for cl...

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

    https://github.com/apache/spark/pull/13406#issuecomment-222633491
  
    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: [SPARK-15662][SQL] Add since annotation for classes in s...

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/13406#discussion_r65263287
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    In my PR, there is line 26.
    
    https://github.com/apache/spark/pull/13404/files#diff-c8ebb678d9e773dd03e05b0bca473d17R26
    
    Did I miss something? I think I'm bothering you in this PR. :)
    If you don't want to update this PR. I'll reopen mine again to show it clearly.


---
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: [SPARK-15662][SQL] Add since annotation for cl...

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

    https://github.com/apache/spark/pull/13406#discussion_r65140165
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/catalog/interface.scala ---
    @@ -25,6 +25,14 @@ import org.apache.spark.sql.catalyst.DefinedByConstructorParams
     // Note: all classes here are expected to be wrapped in Datasets and so must extend
     // DefinedByConstructorParams for the catalog to be able to create encoders for them.
     
    +/**
    + * A database in Spark, as returned by the `listDatabases` method defined in [[Catalog]].
    --- End diff --
    
    Use `[[Catalog#listDatabases]]`


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

    https://github.com/apache/spark/pull/13406#discussion_r65215816
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    otherwise github shows a red sign at the end i think


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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/13406#discussion_r65249012
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    What I meat is we need a line blank line at line number 26. :)


---
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: [SPARK-15662][SQL] Add since annotation for cl...

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

    https://github.com/apache/spark/pull/13406#issuecomment-222633268
  
    **[Test build #59641 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/59641/consoleFull)** for PR 13406 at commit [`798329a`](https://github.com/apache/spark/commit/798329a37b8690657e3210c5d0db17b6064c1b9c).
     * 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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

    https://github.com/apache/spark/pull/13406#discussion_r65263190
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    I'm pretty sure it's already there, because otherwise git would show a red mark at the end. Also I verified locally by running wc (if I remove the trailing new line, wc result goes from 25 to 24).
    
    But more importantly, why are we wasting time here?



---
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: [SPARK-15662][SQL] Add since annotation for cl...

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/13406#discussion_r65136837
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    I don't know why IntelliJ show blank line there, but I used VIM to fix this.


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/13406
  
    Merging into master 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 pull request: [SPARK-15662][SQL] Add since annotation for classes in s...

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/13406#discussion_r65265296
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    This file is not covered by Scalastyle since it's in `src/java`.
    But again, it's not worth of wasting your time. You can merge this.


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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/13406#discussion_r65269018
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    Oh, you're right. I checked out your PR locally and tested a minute ago.
    I was completely wrong at this. So sorry!!


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

    https://github.com/apache/spark/pull/13406#discussion_r65264246
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    Yes I'm pretty sure you are wrong. See https://github.com/apache/spark/pull/13423/files#diff-c8ebb678d9e773dd03e05b0bca473d17R25 for an example of a file lacking a new blank line.



---
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: [SPARK-15662][SQL] Add since annotation for cl...

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

    https://github.com/apache/spark/pull/13406#discussion_r65140296
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/catalog/interface.scala ---
    @@ -83,9 +112,19 @@ class Column(
     }
     
     
    -// TODO(andrew): should we include the database here?
    +/**
    + * A user-defined function in Spark, as returned by `listFunctions` method in [[Catalog]].
    --- End diff --
    
    Use `[[Catalog#listFunctions]]`


---
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: [SPARK-15662][SQL] Add since annotation for classes in s...

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

    https://github.com/apache/spark/pull/13406#discussion_r65265445
  
    --- Diff: core/src/main/java/org/apache/spark/api/java/function/package.scala ---
    @@ -22,4 +22,4 @@ package org.apache.spark.api.java
      * these interfaces to pass functions to various Java API methods for Spark. Please visit Spark's
      * Java programming guide for more details.
      */
    -package object function 
    +package object function
    --- End diff --
    
    Sorry I still have no idea what you are talking about. Would it fail the style test if there was none?



---
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