azat / chdig

Dig into ClickHouse with TUI interface.
MIT License
123 stars 13 forks source link

Fix obtaining logs for finished queries (mostly in case of exception) #64

Closed azat closed 3 months ago

azat commented 3 months ago

In case the query failed there could be messages after finished record added into the system.query_log, and thinking about this more, there could be such messages even for regular queries, i.e. from the TCPHandler when query is finished.