mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
Update src/Storages/MergeTree/MergeTreeIndexInverted.cpp
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
This commit is contained in:
parent
d8af5bc2ef
commit
7adec3d8a4
@ -770,7 +770,7 @@ void invertedIndexValidator(const IndexDescription & index, bool /*attach*/)
|
||||
|
||||
/// Just validate
|
||||
size_t ngrams = index.arguments.empty() ? 0 : index.arguments[0].get<size_t>();
|
||||
Float64 density = index.arguments.size() < 2 ? 1.0l : index.arguments[1].get<Float64>();
|
||||
Float64 density = index.arguments.size() < 2 ? 1.0 : index.arguments[1].get<Float64>();
|
||||
GinFilterParameters params(ngrams, density);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user