Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/19222#discussion_r171590059 --- Diff: sql/core/src/main/java/org/apache/spark/sql/vectorized/ArrowColumnVector.java --- @@ -365,6 +366,7 @@ final Decimal getDecimal(int rowId, int precision, int scale) { private final VarCharVector accessor; private final NullableVarCharHolder stringResult = new NullableVarCharHolder(); + private final OffHeapMemoryBlock mb = new OffHeapMemoryBlock(0L, 0L); --- End diff -- how useful to cache this object?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org