GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/14526
[SPARK-16939][SQL] Fix build error by using `Tuple1` explicitly in
StringFunctionsSuite
## What changes were proposed in this pull request?
This PR aims to fix a build error on branch 1.6 at
https://github.com/apache/spark/commit/8d8725208771a8815a60160a5a30dc6ea87a7e6a,
but I think we had better have this consistently in master branch, too. It's
because there exist other ongoing PR
(https://github.com/apache/spark/pull/14525) about this.
https://amplab.cs.berkeley.edu/jenkins/job/spark-branch-1.6-compile-maven-with-yarn-2.3/286/console
```scala
[error]
/home/jenkins/workspace/spark-branch-1.6-compile-maven-with-yarn-2.3/sql/core/src/test/scala/org/apache/spark/sql/StringFunctionsSuite.scala:82:
value toDF is not a member of Seq[String]
[error] val df = Seq("aaaac").toDF("s")
[error] ^
```
## How was this patch tested?
After passing Jenkins, run compilation test on branch 1.6.
```
build/mvn -DskipTests -Pyarn -Phadoop-2.3 -Pkinesis-asl -Phive
-Phive-thriftserver install
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark SPARK-16939
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14526.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 #14526
----
commit 1256d67a77301783512f53db6e1ed2dc48da98b5
Author: Dongjoon Hyun <[email protected]>
Date: 2016-08-07T15:51:23Z
[SPARK-16939][SQL] Fix build error by using `Tuple1` explicitly in
StringFunctionsSuite
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]