MaxGekk commented on code in PR #47354:
URL: https://github.com/apache/spark/pull/47354#discussion_r1712692642


##########
sql/api/src/main/scala/org/apache/spark/sql/Row.scala:
##########
@@ -219,39 +219,34 @@ trait Row extends Serializable {
    * Returns the value at position i as a primitive boolean.
    *
    * @throws ClassCastException when data type does not match.
-   * @throws NullPointerException when value is null.

Review Comment:
   Could you clarify why did you remove it instead of replacing 
`NullPointerException` by `SparkException`, just wonder.



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