dongjoon-hyun commented on a change in pull request #35483:
URL: https://github.com/apache/spark/pull/35483#discussion_r804086469



##########
File path: 
sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/WritableColumnVector.java
##########
@@ -703,13 +720,13 @@ public WritableColumnVector arrayData() {
 
   public abstract int getArrayOffset(int rowId);
 
-  @Override
-  public WritableColumnVector getChild(int ordinal) { return 
childColumns[ordinal]; }
-
   /**
-   * Returns the elements appended.
+   * Returns the offset of a struct element at 'rowId' in the child vectors of 
this.
    */
-  public final int getElementsAppended() { return elementsAppended; }

Review comment:
       Do we need to remove this API inevitably? To be safe, I hope we undo 
this removal from this `Improve` PR (if possible).
   When we start to remove somethings, the review becomes tricky.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to