ClickHouse / ClickHouse/clickhouse-cpp

Deadlock on executing special kind of query

Aperta
#396 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
382
Fork
209
Merge medio
1g 22h
PR unite (30g)
13

Descrizione

I try to write a loader from TVS format.
So i run the query like

client.Execute("CREATE TEMPORARY TABLE IF NOT EXISTS test_client (id UInt64, name String)");
client.Execute("insert into test_client FORMAT TSV\n");

and got deadlock in
client.Execute("insert into test_client FORMAT TSV\n");

The client waits answer from server - the ServerCodes::EndOfStream code.
The server also waits something. I think it waits some data. What data format is it waiting?
How to send the data that server waiting?

May be it is bug of the clickhouse server.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.