Skip to content

Optimizations with constant blocks #132379

@dnhatn

Description

@dnhatn

Blocks loaded from fields that are the primary index sort are likely to have a single value (i.e., constant blocks); for example: tsid or dimension fields in time-series indices, or host.name in logs indices. Similar to ordinal blocks, we can enable optimizations for constant blocks to avoid redundant computation when possible.

Kudos to @martijnvg for this great observation while working on loading ordinals directly into blocks.

Subtasks:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions