@@ -906,7 +906,7 @@ class MetastoreDataSourcesSuite extends QueryTest with SQLTestUtils with TestHiv
906906 val e = intercept[AnalysisException ] {
907907 createDF(10 , 19 ).write.mode(SaveMode .Append ).format(" orc" ).saveAsTable(" appendOrcToParquet" )
908908 }
909- assert(e.getMessage.contains(" The file format of the existing table ` appendOrcToParquet` " +
909+ assert(e.getMessage.contains(" The file format of the existing table appendOrcToParquet " +
910910 " is `org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat`. " +
911911 " It doesn't match the specified format `orc`" ))
912912 }
@@ -917,7 +917,7 @@ class MetastoreDataSourcesSuite extends QueryTest with SQLTestUtils with TestHiv
917917 createDF(10 , 19 ).write.mode(SaveMode .Append ).format(" parquet" )
918918 .saveAsTable(" appendParquetToJson" )
919919 }
920- assert(e.getMessage.contains(" The file format of the existing table ` appendParquetToJson` " +
920+ assert(e.getMessage.contains(" The file format of the existing table appendParquetToJson " +
921921 " is `org.apache.spark.sql.execution.datasources.json.JsonFileFormat`. " +
922922 " It doesn't match the specified format `parquet`" ))
923923 }
@@ -928,7 +928,7 @@ class MetastoreDataSourcesSuite extends QueryTest with SQLTestUtils with TestHiv
928928 createDF(10 , 19 ).write.mode(SaveMode .Append ).format(" text" )
929929 .saveAsTable(" appendTextToJson" )
930930 }
931- assert(e.getMessage.contains(" The file format of the existing table ` appendTextToJson` is " +
931+ assert(e.getMessage.contains(" The file format of the existing table appendTextToJson is " +
932932 " `org.apache.spark.sql.execution.datasources.json.JsonFileFormat`. " +
933933 " It doesn't match the specified format `text`" ))
934934 }
0 commit comments