Return-Path: X-Original-To: apmail-spark-commits-archive@minotaur.apache.org Delivered-To: apmail-spark-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DAB51775C for ; Fri, 31 Oct 2014 06:02:47 +0000 (UTC) Received: (qmail 35191 invoked by uid 500); 31 Oct 2014 06:02:47 -0000 Delivered-To: apmail-spark-commits-archive@spark.apache.org Received: (qmail 35158 invoked by uid 500); 31 Oct 2014 06:02:47 -0000 Mailing-List: contact commits-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@spark.apache.org Received: (qmail 35149 invoked by uid 99); 31 Oct 2014 06:02:47 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 06:02:47 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 28E80A07256; Fri, 31 Oct 2014 06:02:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: marmbrus@apache.org To: commits@spark.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: [SPARK-4108][SQL] Fixed usage of deprecated in sql/catalyst/types/datatypes Date: Fri, 31 Oct 2014 06:02:47 +0000 (UTC) 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 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 Authored: Thu Oct 30 23:02:42 2014 -0700 Committer: Michael Armbrust 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