spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marmb...@apache.org
Subject git commit: [SPARK-4108][SQL] Fixed usage of deprecated in sql/catalyst/types/datatypes
Date Fri, 31 Oct 2014 06:02:47 GMT
Repository: spark
Updated Branches:
  refs/heads/master ad3bd0dff -> d31517a3c


[SPARK-4108][SQL] Fixed usage of deprecated in sql/catalyst/types/datatypes

Fixed usage of deprecated in sql/catalyst/types/datatypes to have versio...n parameter

Author: Anant <anant.asty@gmail.com>

Closes #2970 from anantasty/SPARK-4108 and squashes the following commits:

e92cb01 [Anant] Fixed usage of deprecated in sql/catalyst/types/datatypes to have version
parameter


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/d31517a3
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/d31517a3
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/d31517a3

Branch: refs/heads/master
Commit: d31517a3cd6f887cc66ffd3c8e0c12bace3a948d
Parents: ad3bd0d
Author: Anant <anant.asty@gmail.com>
Authored: Thu Oct 30 23:02:42 2014 -0700
Committer: Michael Armbrust <michael@databricks.com>
Committed: Thu Oct 30 23:02:42 2014 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/sql/catalyst/types/dataTypes.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/d31517a3/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/types/dataTypes.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/types/dataTypes.scala
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/types/dataTypes.scala
index b9cf37d..4e6e116 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/types/dataTypes.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/types/dataTypes.scala
@@ -76,7 +76,7 @@ object DataType {
       StructField(name, parseDataType(dataType), nullable)
   }
 
-  @deprecated("Use DataType.fromJson instead")
+  @deprecated("Use DataType.fromJson instead", "1.2.0")
   def fromCaseClassString(string: String): DataType = CaseClassStringParser(string)
 
   private object CaseClassStringParser extends RegexParsers {


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


Mime
View raw message