[SPARK-22893][SQL][HOTFIX] Fix a error message of VersionsSuite

## What changes were proposed in this pull request?

https://github.com/apache/spark/pull/20064 breaks Jenkins tests because it missed to update one error message for Hive 0.12 and Hive 0.13. This PR fixes that.
- https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-sbt-hadoop-2.7/3924/
- https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-sbt-hadoop-2.6/3977/
- https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.7/4226/
- https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.6/4260/

## How was this patch tested?

Pass the Jenkins without failure.

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes #20079 from dongjoon-hyun/SPARK-22893.
This commit is contained in:
Dongjoon Hyun 2017-12-25 16:17:39 -08:00 committed by gatorsmile
parent 12d20dd75b
commit be03d3ad79

View file

@ -773,7 +773,7 @@ class VersionsSuite extends SparkFunSuite with Logging {
""".stripMargin
)
val errorMsg = "data type mismatch: cannot cast DecimalType(2,1) to BinaryType"
val errorMsg = "data type mismatch: cannot cast decimal(2,1) to binary"
if (isPartitioned) {
val insertStmt = s"INSERT OVERWRITE TABLE $tableName partition (ds='a') SELECT 1.3"