sandeep-katta0102 commented on PR #37191: URL: https://github.com/apache/spark/pull/37191#issuecomment-1185351713
> test_default_null.avsc I ran this test by using this branch and it failed as below which is coming from the avro code [here](https://github.com/apache/avro/blob/master/lang/java/avro/src/main/java/org/apache/avro/Schema.java#L108-L110). ``` Job aborted due to stage failure: Task 1 in stage 0.0 failed 1 times, most recent failure: Lost task 1.0 in stage 0.0 (TID 1) (192.168.1.3 executor driver): org.apache.avro.AvroTypeException: Invalid default for field string: null not a "string" at org.apache.avro.Schema.validateDefault(Schema.java:1581) at org.apache.avro.Schema.access$500(Schema.java:92) at org.apache.avro.Schema$Field.<init>(Schema.java:552) at org.apache.avro.Schema.parse(Schema.java:1688) at org.apache.avro.Schema$Parser.parse(Schema.java:1433) at org.apache.avro.Schema$Parser.parse(Schema.java:1421) at org.apache.avro.Schema$SerializableSchema.readResolve(Schema.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1274) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2157) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1647) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
