Github user hvanhovell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20750#discussion_r174587229
  
    --- Diff: 
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/codegen/UnsafeArrayWriter.java
 ---
    @@ -83,10 +83,10 @@ private long getElementOffset(int ordinal, int 
elementSize) {
         return startingOffset + headerInBytes + ordinal * elementSize;
       }
     
    -  public void setOffsetAndSize(int ordinal, long currentCursor, int size) {
    +  public void setOffsetAndSize(int ordinal, long currentCursor, long size) 
{
    --- End diff --
    
    I think we can safely change the signature to take two ints.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to