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: [email protected]
For additional commands, e-mail: [email protected]