Skip to content

[Improvement] Add field properties to Index to support complex index setting #9897

@yuqi1129

Description

@yuqi1129

What would you like to be improved?

Some indices need extra parameters. For example, Clickhouse data skipping indexes requires GRANULARITY, bloom filter fault rate, etc., other than index name, type and column fields.

How should we improve?

Add a field Map<String, String> properties in

public interface Index {
/**
* @return The type of the index. eg: PRIMARY_KEY and UNIQUE_KEY.
*/
IndexType type();
/**
* @return The name of the index.
*/
String name();

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is neededimprovementImprovements on everything

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions