mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update JSONEachRowRowInputFormat.cpp
This commit is contained in:
parent
47ad022a1f
commit
092ed1df15
@ -220,7 +220,7 @@ bool JSONEachRowRowInputFormat::readRow(MutableColumns & columns, RowReadExtensi
|
||||
return false;
|
||||
skipWhitespaceIfAny(in);
|
||||
|
||||
/// We consume ;, or \n or before scanning a new row, instead scanning to next row at the end.
|
||||
/// We consume , or \n before scanning a new row, instead scanning to next row at the end.
|
||||
/// The reason is that if we want an exact number of rows read with LIMIT x
|
||||
/// from a streaming table engine with text data format, like File or Kafka
|
||||
/// then seeking to next ;, or \n would trigger reading of an extra row at the end.
|
||||
|
Loading…
Reference in New Issue
Block a user