Commit be09b41
[fix][infra] correct SQL syntax and enable multiquery execution (#412)
fix(clickhouse-init): correct SQL syntax and enable multiquery execution
- Add missing comma after `evaluator_weighted_score` column in
`evaluation.sql` to fix ClickHouse table creation syntax error
- Enable `--multiquery` flag in `clickhouse-client` invocation to support
multiple SQL statements (including CREATE TABLE with skip indexes) in
a single .sql file
These changes ensure the initialization script runs successfully when
bootstrap SQL files contain compound statements or skip index definitions.1 parent 9b2cb3a commit be09b41
2 files changed
Lines changed: 2 additions & 1 deletion
File tree
- release/deployment/docker-compose/bootstrap/clickhouse-init
- init-sql
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments