dbt-clickhouse
dbt-clickhouse copied to clipboard
Allow creating data skipping indexes by defining parameters
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,typeandgranularityas parameters. - Keep
definitionfpr backwards compatibility
Describe alternatives you've considered Leaving it as it's right now.
Additional context .
Tasks
- [ ] Implement it.
- [ ] Update documentations.