Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/20637#discussion_r208698654
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/GenerateUnsafeProjection.scala
---
@@ -219,15 +235,17 @@ object GenerateUnsafeProjection extends
CodeGenerator[Seq[Expression], UnsafePro
| // Remember the current cursor so that we can write numBytes of
key array later.
| final int $tmpCursor = $rowWriter.cursor();
|
- | ${writeArrayToBuffer(ctx, s"$tmpInput.keyArray()", keyType,
rowWriter)}
+ | ${writeArrayToBuffer(
+ ctx, s"$tmpInput.keyArray()", keyType, false, rowWriter)}
--- End diff --
this can be on one line right?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]