dbt-clickhouse icon indicating copy to clipboard operation
dbt-clickhouse copied to clipboard

Allow creating data skipping indexes by defining parameters

Open koletzilla opened this issue 3 months ago • 0 comments

Is your feature request related to a problem? Please describe. Indexes are defined as:

indexes=[{
          'name': 'your_index_name',
          'definition': 'your_column TYPE minmax GRANULARITY 2'
}]

Having the possibility of letting users add specific parameters, adding all in a single definition parameter is not as readable nor understandable.

Describe the solution you'd like We could:

  • Accept column, type and granularity as parameters.
  • Keep definition fpr backwards compatibility

Describe alternatives you've considered Leaving it as it's right now.

Additional context .

Tasks

  • [ ] Implement it.
  • [ ] Update documentations.

koletzilla avatar Oct 13 '25 16:10 koletzilla