-
- Downloads
[SPARK-11243][SQL] zero out padding bytes in UnsafeRow
For nested StructType, the underline buffer could be used for others before, we should zero out the padding bytes for those primitive types that have less than 8 bytes. cc cloud-fan Author: Davies Liu <davies@databricks.com> Closes #9217 from davies/zero_out.
Showing
- sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/codegen/UnsafeRowWriter.java 15 additions, 5 deletions...ark/sql/catalyst/expressions/codegen/UnsafeRowWriter.java
- sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/codegen/GeneratedProjectionSuite.scala 20 additions, 0 deletions...talyst/expressions/codegen/GeneratedProjectionSuite.scala
Please register or sign in to comment