Update JSONEachRowRowInputFormat.cpp

This commit is contained in:
tavplubix 2020-02-07 16:38:37 +03:00 committed by GitHub
parent 47ad022a1f
commit 092ed1df15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.