Github user jiangxb1987 commented on a diff in the pull request:
https://github.com/apache/spark/pull/20277#discussion_r162531441
--- Diff:
sql/core/src/main/java/org/apache/spark/sql/vectorized/ArrowColumnVector.java
---
@@ -53,166 +41,83 @@ public int numNulls() {
@Override
public void close() {
if (childColumns != null) {
- for (int i = 0; i < childColumns.length; i++) {
- childColumns[i].close();
+ for (ArrowColumnVector childColumn : childColumns) {
--- End diff --
Will this be faster?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]