Github user hvanhovell commented on a diff in the pull request:
https://github.com/apache/spark/pull/20850#discussion_r175392909
--- Diff:
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/codegen/BufferHolder.java
---
@@ -86,11 +86,17 @@ public void grow(int neededSize) {
}
}
- public void reset() {
+ byte[] buffer() { return buffer; }
+
+ int getCursor() { return cursor; }
+
+ void addCursor(int val) { cursor += val; }
--- End diff --
`incrementCursor`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]