You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by anshbansal <gi...@git.apache.org> on 2017/02/03 14:55:07 UTC

[GitHub] spark pull request #16789: Fix for SPARK-19444

GitHub user anshbansal opened a pull request:

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

    Fix for SPARK-19444

    ## What changes were proposed in this pull request?
    
    SPARK-19444
    
    ## How was this patch tested?
    
    Manual
    
    


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

    $ git pull https://github.com/anshbansal/spark patch-1

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

    https://github.com/apache/spark/pull/16789.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 #16789
    
----
commit fb68cc00c5d619f00b8dc9e7b1deeb4faf3b6a17
Author: Aseem Bansal <an...@users.noreply.github.com>
Date:   2017-02-03T14:54:27Z

    Fix for SPARK-19444

----


---
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 #16789: [SPARK-19444][ML][Documentation] Fix imports not ...

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

    https://github.com/apache/spark/pull/16789#discussion_r100859452
  
    --- Diff: examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java ---
    @@ -35,13 +35,11 @@
     import org.apache.spark.sql.types.Metadata;
     import org.apache.spark.sql.types.StructField;
     import org.apache.spark.sql.types.StructType;
    -// $example off$
     
    -// $example on:untyped_ops$
     // col("...") is preferable to df.col("...")
     import static org.apache.spark.sql.functions.callUDF;
     import static org.apache.spark.sql.functions.col;
    -// $example off:untyped_ops$
    +// $example off
    --- End diff --
    
    I hit this issue when I tried to review a Documentation-related PR. Thus, I submitted the 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 #16789: [SPARK-19444][ML][Documentation] Fix imports not ...

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

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


---
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 #16789: [SPARK-19444][ML][Documentation] Fix imports not being p...

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

    https://github.com/apache/spark/pull/16789
  
    **[Test build #3557 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/3557/testReport)** for PR 16789 at commit [`1d50a9d`](https://github.com/apache/spark/commit/1d50a9d7b9cde0584023243031c890c81cf591d7).
     * 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 #16789: Fix for SPARK-19444

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

    https://github.com/apache/spark/pull/16789
  
    @srowen Will read them and get back


---
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 #16789: Fix for SPARK-19444

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

    https://github.com/apache/spark/pull/16789
  
    Can one of the admins verify this patch?


---
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 #16789: [SPARK-19444][ML][Documentation] Fix imports not being p...

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

    https://github.com/apache/spark/pull/16789
  
    Merged to master/2.1


---
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 #16789: [SPARK-19444][ML][Documentation] Fix imports not ...

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

    https://github.com/apache/spark/pull/16789#discussion_r100771978
  
    --- Diff: examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java ---
    @@ -35,13 +35,11 @@
     import org.apache.spark.sql.types.Metadata;
     import org.apache.spark.sql.types.StructField;
     import org.apache.spark.sql.types.StructType;
    -// $example off$
     
    -// $example on:untyped_ops$
     // col("...") is preferable to df.col("...")
     import static org.apache.spark.sql.functions.callUDF;
     import static org.apache.spark.sql.functions.col;
    -// $example off:untyped_ops$
    +// $example off
    --- End diff --
    
    PS I actually fixed this in my big "Java 8" PR for SPARK-19550 because I needed to get the examples to compile. If we don't get that merged soon yes let's fix this in a quick 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 #16789: [SPARK-19444][ML][Documentation] Fix imports not ...

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

    https://github.com/apache/spark/pull/16789#discussion_r100733678
  
    --- Diff: examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java ---
    @@ -35,13 +35,11 @@
     import org.apache.spark.sql.types.Metadata;
     import org.apache.spark.sql.types.StructField;
     import org.apache.spark.sql.types.StructType;
    -// $example off$
     
    -// $example on:untyped_ops$
     // col("...") is preferable to df.col("...")
     import static org.apache.spark.sql.functions.callUDF;
     import static org.apache.spark.sql.functions.col;
    -// $example off:untyped_ops$
    +// $example off
    --- End diff --
    
    It misses `$`


---
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 #16789: Fix for SPARK-19444

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

    https://github.com/apache/spark/pull/16789
  
    Ping @anshbansal 


---
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 #16789: Fix for SPARK-19444

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

    https://github.com/apache/spark/pull/16789
  
    @anshbansal before opening any more PRs or JIRAs please read http://spark.apache.org/contributing.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 #16789: [SPARK-19444][ML][Documentation] Fix imports not being p...

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

    https://github.com/apache/spark/pull/16789
  
    **[Test build #3557 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/3557/testReport)** for PR 16789 at commit [`1d50a9d`](https://github.com/apache/spark/commit/1d50a9d7b9cde0584023243031c890c81cf591d7).


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