Skip to content

Optimize DictionaryBlock#getLogicalSizeInBytes() #14417

Open
@yingsu00

Description

@yingsu00

DictionaryBlock#getLogicalSizeInBytes() calls dictionary.getRegionSizeInBytes(position, 1); for each position. This is very slow when the dictionary is also a DictionaryBlock. Optimize this will help the OrcWriter, Unnest, and Repartitioning who uses it.

Metadata

Metadata

Assignees

Labels

ariaPresto Aria performance improvementsstale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions