Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/23065#discussion_r234393727
  
    --- Diff: 
external/avro/src/test/scala/org/apache/spark/sql/avro/AvroSuite.scala ---
    @@ -138,7 +138,7 @@ class AvroSuite extends QueryTest with SharedSQLContext 
with SQLTestUtils {
       test("test NULL avro type") {
         withTempPath { dir =>
           val fields =
    -        Seq(new Field("null", Schema.create(Type.NULL), "doc", 
null)).asJava
    +        Seq(new Field("null", Schema.create(Type.NULL), "doc", 
null.asInstanceOf[AnyVal])).asJava
    --- End diff --
    
    Should be an exact workalike invocation here, just works around a 
deprecation


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to