Imagine you create a temporary table, then run a query to read from it one second after, and it fails saying the table does not exist. This isn't a bug in the usual sense. For services with more than one replica, your ClickHouse temporary tables and named sessions only exist on the replica they were created on. It's possible that subsequent queries get load balanced to a different replica and then it's like it was never created. This is why we built replica-aware routing: so you always have access.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile