diff --git a/src/core/parser/csv_parser/csv_parser.cpp b/src/core/parser/csv_parser/csv_parser.cpp index c0e0107f96..59be5db167 100644 --- a/src/core/parser/csv_parser/csv_parser.cpp +++ b/src/core/parser/csv_parser/csv_parser.cpp @@ -80,6 +80,9 @@ void CSVParser::Reset() { if (has_header_) { SkipLine(); } + + /* For correctness of GetNextRow() after this method */ + GetNextIfHas(); } void CSVParser::GetLine(unsigned long long const line_index) {