Skip to content

Support Adaptive Encoding #902

Description

@ColinLeeo

Currently, TsFile uses a fixed encoding algorithm for each data type. For example, floating-point data may use Gorilla encoding.

However, data characteristics vary across datasets, and a fixed encoding algorithm may not always perform well. In some cases, it may even increase the encoded data size. We propose introducing an adaptive encoding mechanism that dynamically selects a more suitable encoding algorithm based on the actual data characteristics or encoding effectiveness.

Falling back to PLAIN when the current encoding is unsuitable can be one adaptive option, but it should not be the only one. The selection strategy, evaluation criteria, and switching granularity can be discussed separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions