Commit 98971d8
[BugFix] Reject bloom_filter_columns on a column with an ngram index in the lake fast path
A column may carry at most one of {plain bloom filter, ngram bloom filter}. The
regular schema-change path enforces this via IndexAnalyzer.analyseBfWithNgramBf,
but the lake bloom_filter_columns fast path (tryBuildLakeAddBloomFilterJob) did
not — so 'SET ("bloom_filter_columns"="c")' on a column that already has an
NGRAMBF index was silently accepted instead of erroring 'should only have one
bloom filter index or ngram bloom filter index'. Run the same validation before
taking the fast path.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: meegoo <meegoo.sr@gmail.com>1 parent 54f6412 commit 98971d8
1 file changed
Lines changed: 14 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2374 | 2374 | | |
2375 | 2375 | | |
2376 | 2376 | | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
2377 | 2391 | | |
2378 | 2392 | | |
2379 | 2393 | | |
| |||
0 commit comments