Skip to content

Commit

Permalink
7
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Aug 23, 2023
1 parent b4ff619 commit 1b12dd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions be/src/vec/exec/format/csv/csv_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ class CsvReader : public GenericReader {
// TODO(ftw): parse type
Status _parse_col_types(size_t col_nums, std::vector<TypeDescriptor>* col_types);

// check the utf8 encoding of a line.
// return error status to stop processing.
// If return Status::OK but "success" is false, which means this is load request
// and the line is skipped as unqualified row, and the process should continue.
Status _validate_line(const Slice& line, bool* success);

RuntimeState* _state;
Expand Down

0 comments on commit 1b12dd9

Please sign in to comment.