LuciferYang commented on code in PR #44048:
URL: https://github.com/apache/spark/pull/44048#discussion_r1407686205


##########
connector/protobuf/src/test/scala/org/apache/spark/sql/protobuf/ProtobufFunctionsSuite.scala:
##########
@@ -503,9 +503,9 @@ class ProtobufFunctionsSuite extends QueryTest with 
SharedSparkSession with Prot
       }
     }
     assert(
-      
toProtoDfToFromProtoDf.select("toProtoToFromProto.value").take(1).toSeq(0).get(0)
 == null)
+      
toProtoDfToFromProtoDf.select("toProtoToFromProto.value").first().isNullAt(0))

Review Comment:
   Let's consult the developer of this module :)
   
   friendly ping @SandishKumarHN @rangadi 



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to