https://github.com/boundaryml/clickhouse-repro
https://github.com/boundaryml/clickhouse-repro
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/boundaryml/clickhouse-repro
- Owner: BoundaryML
- License: apache-2.0
- Created: 2025-06-04T02:52:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-29T20:59:19.000Z (11 months ago)
- Last Synced: 2025-10-30T17:08:29.304Z (9 months ago)
- Language: Rust
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repro instructions
Trying to figure out how to do a WHERE clause on an aggregated field.
```
export CLICKHOUSE_HOST=...
export CLICKHOUSE_PASSWORD=...
cargo run
```
yields this error message:
```
Error: bad response: Code: 47. DB::Exception: Missing columns: 'event_data.fizz' while processing: 'SELECT event_id, argMaxMerge(event_data) AS event_data FROM sam_test.event_agg_table WHERE event_data.fizz = 'buzz' GROUP BY event_id', required columns: 'event_id' 'event_data.fizz' 'event_data', maybe you meant: 'event_id' or 'event_data'. (UNKNOWN_IDENTIFIER) (version 25.4.1.37073 (official build))
failed to wait for command termination: exit status 1
```