diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-04-06 15:48:28 +0200 |
---|---|---|
committer | Herman van Hovell <hvanhovell@questtec.nl> | 2016-04-06 15:48:28 +0200 |
commit | 25a4c8e0c5c63ca4722b1da6182e0e0f0f48b73a (patch) | |
tree | 6afec94346adf58b963fdb521fe4075c348c9c72 /build | |
parent | 78c1076d0421cc41cbdb788f38b13c9a00e8f561 (diff) | |
download | spark-25a4c8e0c5c63ca4722b1da6182e0e0f0f48b73a.tar.gz spark-25a4c8e0c5c63ca4722b1da6182e0e0f0f48b73a.tar.bz2 spark-25a4c8e0c5c63ca4722b1da6182e0e0f0f48b73a.zip |
[SPARK-14396][BUILD][HOT] Fix compilation against Scala 2.10
#### What changes were proposed in this pull request?
This PR is to fix the compilation errors in Scala 2.10 build, as shown in the link:
https://amplab.cs.berkeley.edu/jenkins/job/spark-master-compile-maven-scala-2.10/735/console
```
[error] /home/jenkins/workspace/spark-master-compile-maven-scala-2.10/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveDDLCommandSuite.scala:266: value contains is not a member of Option[String]
[error] assert(desc.viewText.contains("SELECT * FROM tab1"))
[error] ^
[error] /home/jenkins/workspace/spark-master-compile-maven-scala-2.10/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveDDLCommandSuite.scala:267: value contains is not a member of Option[String]
[error] assert(desc.viewOriginalText.contains("SELECT * FROM tab1"))
[error] ^
[error] /home/jenkins/workspace/spark-master-compile-maven-scala-2.10/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveDDLCommandSuite.scala:293: value contains is not a member of Option[String]
[error] assert(desc.viewText.contains("SELECT * FROM tab1"))
[error] ^
[error] /home/jenkins/workspace/spark-master-compile-maven-scala-2.10/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveDDLCommandSuite.scala:294: value contains is not a member of Option[String]
[error] assert(desc.viewOriginalText.contains("SELECT * FROM tab1"))
[error] ^
[error] four errors found
[error] Compile failed at Apr 5, 2016 10:59:09 PM [10.502s]
```
#### How was this patch tested?
Not sure how to trigger Scala 2.10 compilation in the test environment.
Author: gatorsmile <gatorsmile@gmail.com>
Closes #12201 from gatorsmile/buildBreak2.10.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions