mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
fix reset of parser
This commit is contained in:
parent
18dd1345fa
commit
37f2a0a021
@ -360,11 +360,10 @@ try
|
||||
for (const auto & entry : data->entries)
|
||||
{
|
||||
buffer = std::make_unique<ReadBufferFromString>(entry->bytes);
|
||||
|
||||
format->resetParser();
|
||||
format->setReadBuffer(*buffer);
|
||||
current_entry = entry;
|
||||
total_rows += executor.execute();
|
||||
format->resetParser();
|
||||
}
|
||||
|
||||
auto chunk = Chunk(executor.getResultColumns(), total_rows);
|
||||
|
Loading…
Reference in New Issue
Block a user