From 6a7438bf6574d35ed841a7301f50003b4fb12341 Mon Sep 17 00:00:00 2001 From: angerszhu Date: Tue, 29 Dec 2020 13:38:41 +0800 Subject: [PATCH] Update CatalystTypeConverters.scala --- .../org/apache/spark/sql/catalyst/CatalystTypeConverters.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/CatalystTypeConverters.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/CatalystTypeConverters.scala index 2688e2f893ee7..5e3a7d0aa0b5d 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/CatalystTypeConverters.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/CatalystTypeConverters.scala @@ -176,7 +176,7 @@ object CatalystTypeConverters { new GenericArrayData(convertedIterable.toArray) case g: GenericArrayData => new GenericArrayData(g.array.map(elementConverter.toCatalyst)) case other => throw new IllegalArgumentException( - s"AAAThe value (${other.toString}) of the type (${other.getClass.getCanonicalName}) " + s"The value (${other.toString}) of the type (${other.getClass.getCanonicalName}) " + s"cannot be converted to an array of ${elementType.catalogString}") } }