DT
OPTIMIZE TABLE mytable PARTITION ID '202101' FINAL;
Size: a a a
DT
A
DC
AS
AT
const stream: NodeJS.ReadWriteStream = ch.query(`INSERT INTO events`, { format: 'JSONEachRow' });
do {
const event: IChEvent | undefined = await eventsService.getEventLogFromRedis();
const eventString: string = JSON.stringify(event);
stream.write(eventString);
} while (true);
2021.03.01 10:09:01.269203 [ 275 ] {773481a2-ea4f-414e-b225-25f4a3f3675c} <Error> void DB::ParallelParsingBlockInputStream::onBackgroundException(): Code: 23, e.displayText() = DB::Exception: Cannot read from istream at offset 0, Stack trace (when copying this message, always include the lines below):
DC
const stream: NodeJS.ReadWriteStream = ch.query(`INSERT INTO events`, { format: 'JSONEachRow' });
do {
const event: IChEvent | undefined = await eventsService.getEventLogFromRedis();
const eventString: string = JSON.stringify(event);
stream.write(eventString);
} while (true);
2021.03.01 10:09:01.269203 [ 275 ] {773481a2-ea4f-414e-b225-25f4a3f3675c} <Error> void DB::ParallelParsingBlockInputStream::onBackgroundException(): Code: 23, e.displayText() = DB::Exception: Cannot read from istream at offset 0, Stack trace (when copying this message, always include the lines below):
AT
DC
AT
DC
AT
SS
DC
SS
DC
SS
SS
EE
AK
АВ