aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2015-11-24 18:58:55 -0800
committerReynold Xin <rxin@databricks.com>2015-11-24 18:58:55 -0800
commit4d6bbbc03ddb6650b00eb638e4876a196014c19c (patch)
tree02fe56a642061415c63fd642e366c3713a102f93 /sql/hive
parent25bbd3c16e8e8be4d2c43000223d54650e9a3696 (diff)
downloadspark-4d6bbbc03ddb6650b00eb638e4876a196014c19c.tar.gz
spark-4d6bbbc03ddb6650b00eb638e4876a196014c19c.tar.bz2
spark-4d6bbbc03ddb6650b00eb638e4876a196014c19c.zip
[SPARK-11947][SQL] Mark deprecated methods with "This will be removed in Spark 2.0."
Also fixed some documentation as I saw them. Author: Reynold Xin <rxin@databricks.com> Closes #9930 from rxin/SPARK-11947.
Diffstat (limited to 'sql/hive')
-rw-r--r--sql/hive/src/test/scala/org/apache/spark/sql/sources/SimpleTextHadoopFsRelationSuite.scala6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/sources/SimpleTextHadoopFsRelationSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/sources/SimpleTextHadoopFsRelationSuite.scala
index 81af684ba0..b554d135e4 100644
--- a/sql/hive/src/test/scala/org/apache/spark/sql/sources/SimpleTextHadoopFsRelationSuite.scala
+++ b/sql/hive/src/test/scala/org/apache/spark/sql/sources/SimpleTextHadoopFsRelationSuite.scala
@@ -80,7 +80,11 @@ class SimpleTextHadoopFsRelationSuite extends HadoopFsRelationTest with Predicat
private var partitionedDF: DataFrame = _
- private val partitionedDataSchema: StructType = StructType('a.int :: 'b.int :: 'c.string :: Nil)
+ private val partitionedDataSchema: StructType =
+ new StructType()
+ .add("a", IntegerType)
+ .add("b", IntegerType)
+ .add("c", StringType)
protected override def beforeAll(): Unit = {
this.tempPath = Utils.createTempDir()