-
- Downloads
[SPARK-3448][SQL] Check for null in SpecificMutableRow.update
`SpecificMutableRow.update` doesn't check for null, and breaks existing `MutableRow` contract. The tricky part here is that for performance considerations, the `update` method of all subclasses of `MutableValue` doesn't check for null and sets the null bit to false. Author: Cheng Lian <lian.cs.zju@gmail.com> Closes #2325 from liancheng/check-for-null and squashes the following commits: 9366c44 [Cheng Lian] Check for null in SpecificMutableRow.update
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/SpecificRow.scala 3 additions, 1 deletion...g/apache/spark/sql/catalyst/expressions/SpecificRow.scala
- sql/core/src/test/scala/org/apache/spark/sql/RowSuite.scala 7 additions, 1 deletionsql/core/src/test/scala/org/apache/spark/sql/RowSuite.scala
Please register or sign in to comment