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 2018/10/22 04:24:15 UTC

[GitHub] spark pull request #22792: [SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Exam...

GitHub user dongjoon-hyun opened a pull request:

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

    [SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Example

    ## What changes were proposed in this pull request?
    
    This PR aims to fix the following SparkR example in Spark 2.3.0 ~ 2.4.0.
    
    ```r
    > df <- read.df("examples/src/main/resources/people.csv", "csv")
    > namesAndAges <- select(df, "name", "age")
    ...
    Caused by: org.apache.spark.sql.AnalysisException: cannot resolve '`name`' given input columns: [_c0];;
    'Project ['name, 'age]
    +- AnalysisBarrier
          +- Relation[_c0#97] csv
    ```
     
    - https://dist.apache.org/repos/dist/dev/spark/v2.4.0-rc3-docs/_site/sql-programming-guide.html#manually-specifying-options
    - http://spark.apache.org/docs/2.3.2/sql-programming-guide.html#manually-specifying-options
    - http://spark.apache.org/docs/2.3.1/sql-programming-guide.html#manually-specifying-options
    - http://spark.apache.org/docs/2.3.0/sql-programming-guide.html#manually-specifying-options
    
    ## 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-25795-2

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

    https://github.com/apache/spark/pull/22792.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 #22792
    
----

----


---

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


[GitHub] spark issue #22792: [SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Example

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

    https://github.com/apache/spark/pull/22792
  
    **[Test build #97792 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/97792/testReport)** for PR 22792 at commit [`f160711`](https://github.com/apache/spark/commit/f160711e57871d5865e842dbec1d1cf70e688659).
     * This patch passes all tests.
     * This patch **does not merge cleanly**.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22792: [SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Example

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

    https://github.com/apache/spark/pull/22792
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4364/
    Test FAILed.


---

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


[GitHub] spark issue #22792: [SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Example

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

    https://github.com/apache/spark/pull/22792
  
    **[Test build #97742 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/97742/testReport)** for PR 22792 at commit [`f160711`](https://github.com/apache/spark/commit/f160711e57871d5865e842dbec1d1cf70e688659).
     * This patch passes all tests.
     * This patch **does not merge cleanly**.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22792: [SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Example

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

    https://github.com/apache/spark/pull/22792
  
    **[Test build #97742 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/97742/testReport)** for PR 22792 at commit [`f160711`](https://github.com/apache/spark/commit/f160711e57871d5865e842dbec1d1cf70e688659).


---

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


[GitHub] spark issue #22792: [SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Example

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

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


---

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


[GitHub] spark pull request #22792: [SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Exam...

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

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


---

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