File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
external/avro/src/test/scala/org/apache/spark/sql/avro Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -984,6 +984,8 @@ abstract class AvroSuite
984984 test(" support user provided non-nullable avro schema " +
985985 " for nullable catalyst schema without any null record" ) {
986986 withTempPath { tempDir =>
987+
988+
987989 val catalystSchema =
988990 StructType (Seq (
989991 StructField (" Age" , IntegerType , true ),
@@ -1015,7 +1017,7 @@ abstract class AvroSuite
10151017 .save(s " $tempDir/ ${UUID .randomUUID()}" )
10161018 }.getCause.getMessage
10171019 assert(message.contains(" Caused by: java.lang.NullPointerException: " +
1018- " in test_schema in string null of string in field Name" ))
1020+ " null of string in string in field Name of test_schema in test_schema " ))
10191021 }
10201022 }
10211023
You can’t perform that action at this time.
0 commit comments