apache/arrow-java

Performance concern: fillHoles() method and read buffer expansion efficiency.

开放

#599 创建于 2025年2月10日

 (9 条评论) (3 个反应) (0 位负责人)Java (132 个派生)auto 404
Type: enhancementhelp wanted

仓库指标

星标
 (89 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Hi everyone,

I have the following use case: I’m benchmarking the read throughput performance when dealing with a large number of non-dictionary string columns (300 columns). Based on the profiler output (see the attached picture), I’ve noticed that a significant amount of time is spent in the fillHoles() method, which is part of the read buffer expansion process.

My question is: why is the buffer filled one element at a time instead of using a bulk operation? Wouldn’t a batch approach be more efficient?

Looking forward to your insights. Thanks!

Image

贡献者指南