pan3793 commented on code in PR #5812:
URL: https://github.com/apache/kyuubi/pull/5812#discussion_r1413390311


##########
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/schema/RowSet.scala:
##########
@@ -169,12 +169,13 @@ object RowSet {
     var idx = 0
     while (idx < size) {
       val row = rows(idx)
-      val isNull = row.isNullAt(ordinal)
+      val value = row.get(ordinal)
+      val isNull = value == null

Review Comment:
   I think we can not make such an assumption, the implementation may be 
different, for example, the developer uses a custom value to represent `NULL` 
in its own `CustomRow`, especially for those non-JVM implementations



-- 
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]

Reply via email to