Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::CSVError Class Reference
Collaboration diagram for duckdb::CSVError:

Public Member Functions

 CSVError (string error_message, CSVErrorType type, idx_t column_idx, string csv_row, LinesPerBoundary error_info, idx_t row_byte_position, optional_idx byte_position, const CSVReaderOptions &reader_options, const string &fixes, const String &current_path)
 CSVError (string error_message, CSVErrorType type, LinesPerBoundary error_info)
idx_t GetBoundaryIndex () const

Static Public Member Functions

static CSVError ColumnTypesError (case_insensitive_map_t< idx_t > sql_types_per_column, const vector< string > &names)
 Produces error messages for column name -> type mismatch.
static CSVError CastError (const CSVReaderOptions &options, const string &column_name, string &cast_error, idx_t column_idx, string &csv_row, LinesPerBoundary error_info, idx_t row_byte_position, optional_idx byte_position, LogicalTypeId type, const String &current_path)
 Produces error messages for casting errors.
static CSVError LineSizeError (const CSVReaderOptions &options, LinesPerBoundary error_info, string &csv_row, idx_t byte_position, const String &current_path)
 Produces error for when the line size exceeds the maximum line size option.
static CSVError InvalidState (const CSVReaderOptions &options, idx_t current_column, LinesPerBoundary error_info, string &csv_row, idx_t row_byte_position, optional_idx byte_position, const String &current_path)
 Produces error for when the state machine reaches an invalid state.
static CSVError SniffingError (const CSVReaderOptions &options, const string &search_space, idx_t max_columns_found, SetColumns &set_columns, bool type_detection)
 Produces an error message for a dialect sniffing error.
static CSVError HeaderSniffingError (const CSVReaderOptions &options, const vector< HeaderValue > &best_header_row, idx_t column_count, const string &delimiter)
 Produces an error message for a header sniffing error.
static CSVError UnterminatedQuotesError (const CSVReaderOptions &options, idx_t current_column, LinesPerBoundary error_info, string &csv_row, idx_t row_byte_position, optional_idx byte_position, const String &current_path)
 Produces error messages for unterminated quoted values.
static CSVError NullPaddingFail (const CSVReaderOptions &options, LinesPerBoundary error_info, const String &current_path)
 Produces error messages for null_padding option is set, and we have quoted new values in parallel.
static CSVError IncorrectColumnAmountError (const CSVReaderOptions &state_machine, idx_t actual_columns, LinesPerBoundary error_info, string &csv_row, idx_t row_byte_position, optional_idx byte_position, const String &current_path)
 Produces error for incorrect (e.g., smaller and lower than the predefined) number of columns in a CSV Line.
static CSVError InvalidUTF8 (const CSVReaderOptions &options, idx_t current_column, LinesPerBoundary error_info, string &csv_row, idx_t row_byte_position, optional_idx byte_position, const String &current_path)
static void RemoveNewLine (string &error)
 We might want to remove newline in errors if we are doing them for the rejects tables.

Public Attributes

string error_message
 Actual error message.
string full_error_message
CSVErrorType type {}
 Error Type.
idx_t column_idx {}
 Column Index where error happened.
string csv_row
 Original CSV row where error happened.
LinesPerBoundary error_info
 Line information regarding this error.
idx_t row_byte_position {}
 Byte position of where the row starts.
optional_idx byte_position
 Byte Position where error occurred.

Constructor & Destructor Documentation

◆ CSVError() [1/3]

duckdb::CSVError::CSVError ( )
inline
166199{};

◆ CSVError() [2/3]

duckdb::CSVError::CSVError ( string error_message,
CSVErrorType type,
idx_t column_idx,
string csv_row,
LinesPerBoundary error_info,
idx_t row_byte_position,
optional_idx byte_position,
const CSVReaderOptions & reader_options,
const string & fixes,
const String & current_path )
175816 : error_message(std::move(error_message_p)), type(type_p), column_idx(column_idx_p), csv_row(std::move(csv_row_p)),
175817 error_info(error_info_p), row_byte_position(row_byte_position), byte_position(byte_position_p) {
175818 // What were the options
175819 std::ostringstream error;
175820 if (reader_options.ignore_errors.GetValue()) {
175822 }
175823 // Let's cap the csv row to 10k bytes. For performance reasons.
175824 if (csv_row.size() > 10000) {
175825 csv_row.erase(csv_row.begin() + 10000, csv_row.end());
175826 }
175827 error << error_message << '\n';
175828 error << fixes << '\n';
175829 error << reader_options.ToString(current_path);
175830 error << '\n';
175831 full_error_message = error.str();
175832}
static void RemoveNewLine(string &error)
We might want to remove newline in errors if we are doing them for the rejects tables.
Definition duckdb.cpp:175853
string csv_row
Original CSV row where error happened.
Definition duckdb.cpp:166257
idx_t row_byte_position
Byte position of where the row starts.
Definition duckdb.cpp:166261
LinesPerBoundary error_info
Line information regarding this error.
Definition duckdb.cpp:166259
string error_message
Actual error message.
Definition duckdb.cpp:166246
string full_error_message
Definition duckdb.cpp:166251
CSVErrorType type
Error Type.
Definition duckdb.cpp:166253
optional_idx byte_position
Byte Position where error occurred.
Definition duckdb.cpp:166263
idx_t column_idx
Column Index where error happened.
Definition duckdb.cpp:166255

◆ CSVError() [3/3]

duckdb::CSVError::CSVError ( string error_message,
CSVErrorType type,
LinesPerBoundary error_info )
175810 : error_message(std::move(error_message_p)), type(type_p), error_info(error_info_p) {
175811}

Member Function Documentation

◆ ColumnTypesError()

CSVError duckdb::CSVError::ColumnTypesError ( case_insensitive_map_t< idx_t > sql_types_per_column,
const vector< string > & names )
static

Produces error messages for column name -> type mismatch.

175834 {
175835 for (idx_t i = 0; i < names.size(); i++) {
175836 auto it = sql_types_per_column.find(names[i]);
175837 if (it != sql_types_per_column.end()) {
175838 sql_types_per_column.erase(names[i]);
175839 }
175840 }
175841 if (sql_types_per_column.empty()) {
175842 return CSVError("", COLUMN_NAME_TYPE_MISMATCH, {});
175843 }
175844 string exception = "COLUMN_TYPES error: Columns with names: ";
175845 for (auto &col : sql_types_per_column) {
175846 exception += "\"" + col.first + "\",";
175847 }
175848 exception.pop_back();
175849 exception += " do not exist in the CSV File";
175850 return CSVError(exception, COLUMN_NAME_TYPE_MISMATCH, {});
175851}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
@ COLUMN_NAME_TYPE_MISMATCH
If when casting a value from string to the column type fails.
Definition duckdb.cpp:166186
Here is the caller graph for this function:

◆ CastError()

CSVError duckdb::CSVError::CastError ( const CSVReaderOptions & options,
const string & column_name,
string & cast_error,
idx_t column_idx,
string & csv_row,
LinesPerBoundary error_info,
idx_t row_byte_position,
optional_idx byte_position,
LogicalTypeId type,
const String & current_path )
static

Produces error messages for casting errors.

175859 {
175860 std::ostringstream error;
175861 // Which column
175862 error << "Error when converting column \"" << column_name << "\". ";
175863 // What was the cast error
175864 error << cast_error << '\n';
175865 std::ostringstream how_to_fix_it;
175866 how_to_fix_it << "Column " << column_name << " is being converted as type " << LogicalTypeIdToString(type) << '\n';
175867 if (!options.WasTypeManuallySet(column_idx)) {
175868 how_to_fix_it << "This type was auto-detected from the CSV file." << '\n';
175869 how_to_fix_it << "Possible solutions:" << '\n';
175870 how_to_fix_it << "* Override the type for this column manually by setting the type explicitly, e.g., types={'"
175871 << column_name << "': 'VARCHAR'}" << '\n';
175872 how_to_fix_it
175873 << "* Set the sample size to a larger value to enable the auto-detection to scan more values, e.g., "
175874 "sample_size=-1"
175875 << '\n';
175876 how_to_fix_it << "* Use a COPY statement to automatically derive types from an existing table." << '\n';
175877 } else {
175878 how_to_fix_it
175879 << "This type was either manually set or derived from an existing table. Select a different type to "
175880 "correctly parse this column."
175881 << '\n';
175882 }
175883 how_to_fix_it << "* Check whether the null string value is set correctly (e.g., nullstr = 'N/A')" << '\n';
175884
175885 return CSVError(error.str(), CAST_ERROR, column_idx, csv_row, error_info, row_byte_position, byte_position, options,
175886 how_to_fix_it.str(), current_path);
175887}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LineSizeError()

CSVError duckdb::CSVError::LineSizeError ( const CSVReaderOptions & options,
LinesPerBoundary error_info,
string & csv_row,
idx_t byte_position,
const String & current_path )
static

Produces error for when the line size exceeds the maximum line size option.

175890 {
175891 std::ostringstream error;
175892 error << "Maximum line size of " << options.maximum_line_size.GetValue() << " bytes exceeded. ";
175893 error << "Actual Size:" << csv_row.size() << " bytes." << '\n';
175894
175895 std::ostringstream how_to_fix_it;
175896 how_to_fix_it << "Possible Solution: Change the maximum length size, e.g., max_line_size=" << csv_row.size() + 2
175897 << "\n";
175898
175899 return CSVError(error.str(), MAXIMUM_LINE_SIZE, 0, csv_row, error_info, byte_position, byte_position, options,
175900 how_to_fix_it.str(), current_path);
175901}
@ MAXIMUM_LINE_SIZE
If something went wrong during sniffing and was not possible to find suitable candidates.
Definition duckdb.cpp:166191
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InvalidState()

CSVError duckdb::CSVError::InvalidState ( const CSVReaderOptions & options,
idx_t current_column,
LinesPerBoundary error_info,
string & csv_row,
idx_t row_byte_position,
optional_idx byte_position,
const String & current_path )
static

Produces error for when the state machine reaches an invalid state.

175905 {
175906 std::ostringstream error;
175907 error << "The CSV Parser state machine reached an invalid state.\nThis can happen when is not possible to parse "
175908 "your CSV File with the given options, or the CSV File is not RFC 4180 compliant ";
175909 std::ostringstream how_to_fix_it;
175910 if (options.dialect_options.state_machine_options.strict_mode.GetValue()) {
175911 how_to_fix_it << "Possible fixes:" << '\n';
175912 how_to_fix_it << "* Disable the parser's strict mode (strict_mode=false) to allow reading rows that do not "
175913 "comply with the CSV standard."
175914 << '\n';
175915 }
175916 return CSVError(error.str(), INVALID_STATE, current_column, csv_row, error_info, row_byte_position, byte_position,
175917 options, how_to_fix_it.str(), current_path);
175918}
@ INVALID_STATE
If we have invalid UTF-8 encoded values.
Definition duckdb.cpp:166194
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SniffingError()

CSVError duckdb::CSVError::SniffingError ( const CSVReaderOptions & options,
const string & search_space,
idx_t max_columns_found,
SetColumns & set_columns,
bool type_detection )
static

Produces an error message for a dialect sniffing error.

175978 {
175979 std::ostringstream error;
175980 // 1. Which file
175981 error << "Error when sniffing file \"" << options.file_path << "\"." << '\n';
175982 // 2. What's the error
175983 error << "It was not possible to automatically detect the CSV parsing ";
175984 if (type_detection) {
175985 error << "types" << '\n';
175986 } else {
175987 error << "dialect" << '\n';
175988 }
175989
175990 // 2. What was the search space?
175991 error << "The search space used was:" << '\n';
175992 error << search_space;
175993 error << "Encoding: " << options.encoding << '\n';
175994 // 3. Suggest how to fix it!
175995 error << "Possible fixes:" << '\n';
175996 // 3.0 Inform the user about the strict_mode
175997 // 3.1 Inform the reader of the dialect
175998 if (options.dialect_options.state_machine_options.strict_mode.GetValue()) {
175999 error << "* Disable the parser's strict mode (strict_mode=false) to allow reading rows that do not comply with "
176000 "the CSV standard."
176001 << '\n';
176002 }
176003 if (options.columns_set) {
176004 // If columns are set, suggest to either unset it or validate that it matches the schema
176005 error << "* Columns are set as: \"" << set_columns.ToString() << "\", and they contain: " << set_columns.Size()
176006 << " columns. It does not match the number of columns found by the sniffer: " << max_columns_found << "."
176007 << " Verify the columns parameter is correctly set." << '\n';
176008 }
176009 // 3.0.1 Inform the user about encoding
176010 error << "* Make sure you are using the correct file encoding. If not, set it (e.g., encoding = 'utf-16')." << '\n';
176011 // 3.1 Inform the reader of the dialect
176012 // delimiter
176013 if (!options.dialect_options.state_machine_options.delimiter.IsSetByUser()) {
176014 error << "* Set delimiter (e.g., delim=\',\')" << '\n';
176015 } else {
176016 error << "* Delimiter is set to \'" << options.dialect_options.state_machine_options.delimiter.GetValue()
176017 << "\'. Consider unsetting it." << '\n';
176018 }
176019 // quote
176020 if (!options.dialect_options.state_machine_options.quote.IsSetByUser()) {
176021 error << "* Set quote (e.g., quote=\'\"\')" << '\n';
176022 } else {
176023 error << "* Quote is set to \'" << options.dialect_options.state_machine_options.quote.GetValue()
176024 << "\'. Consider unsetting it." << '\n';
176025 }
176026 // escape
176027 if (!options.dialect_options.state_machine_options.escape.IsSetByUser()) {
176028 error << "* Set escape (e.g., escape=\'\"\')" << '\n';
176029 } else {
176030 error << "* Escape is set to \'" << options.dialect_options.state_machine_options.escape.GetValue()
176031 << "\'. Consider unsetting it." << '\n';
176032 }
176033 // comment
176034 if (!options.dialect_options.state_machine_options.comment.IsSetByUser()) {
176035 error << "* Set comment (e.g., comment=\'#\')" << '\n';
176036 } else {
176037 error << "* Comment is set to \'" << options.dialect_options.state_machine_options.comment.GetValue()
176038 << "\'. Consider unsetting it." << '\n';
176039 }
176040 // 3.2 skip_rows
176041 if (!options.dialect_options.skip_rows.IsSetByUser()) {
176042 error << "* Set skip (skip=${n}) to skip ${n} lines at the top of the file" << '\n';
176043 }
176044 // 3.3 ignore_errors
176045 if (!options.ignore_errors.GetValue()) {
176046 error << "* Enable ignore errors (ignore_errors=true) to ignore potential errors" << '\n';
176047 }
176048 // 3.4 null_padding
176049 if (!options.null_padding) {
176050 error << "* Enable null padding (null_padding=true) to pad missing columns with NULL values" << '\n';
176051 }
176052 error << "* Check you are using the correct file compression, otherwise set it (e.g., compression = \'zstd\')"
176053 << '\n';
176054 error << "* Be sure that the maximum line size is set to an appropriate value, otherwise set it (e.g., "
176055 "max_line_size=10000000)"
176056 << "\n";
176057 return CSVError(error.str(), SNIFFING, {});
176058}
@ SNIFFING
If a quote is not terminated.
Definition duckdb.cpp:166190
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HeaderSniffingError()

CSVError duckdb::CSVError::HeaderSniffingError ( const CSVReaderOptions & options,
const vector< HeaderValue > & best_header_row,
idx_t column_count,
const string & delimiter )
static

Produces an error message for a header sniffing error.

175920 {
175921 std::ostringstream error;
175922 // 1. Which file
175923 error << "Error when sniffing file \"" << options.file_path << "\"." << '\n';
175924 // 2. What's the error
175925 error << "It was not possible to detect the CSV Header, due to the header having less columns than expected"
175926 << '\n';
175927 // 2.1 What's the expected number of columns
175928 error << "Number of expected columns: " << column_count << ". Actual number of columns " << best_header_row.size()
175929 << '\n';
175930 // 2.2 What was the detected row
175931 error << "Detected row as Header:" << '\n';
175932 for (idx_t i = 0; i < best_header_row.size(); i++) {
175933 if (best_header_row[i].is_null) {
175934 error << "NULL";
175935 } else {
175936 error << best_header_row[i].value;
175937 }
175938 if (i < best_header_row.size() - 1) {
175939 error << delimiter << " ";
175940 }
175941 }
175942 error << "\n";
175943
175944 // 3. Suggest how to fix it!
175945 error << "Possible fixes:" << '\n';
175946 if (options.dialect_options.state_machine_options.strict_mode.GetValue()) {
175947 error << "* Disable the parser's strict mode (strict_mode=false) to allow reading rows that do not comply with "
175948 "the CSV standard."
175949 << '\n';
175950 }
175951 // header
175952 if (!options.dialect_options.header.IsSetByUser()) {
175953 error << "* Set header (header = true) if your CSV has a header, or (header = false) if it doesn't" << '\n';
175954 } else {
175955 error << "* Header is set to \'" << options.dialect_options.header.GetValue() << "\'. Consider unsetting it."
175956 << '\n';
175957 }
175958 // skip_rows
175959 if (!options.dialect_options.skip_rows.IsSetByUser()) {
175960 error << "* Set skip (skip=${n}) to skip ${n} lines at the top of the file" << '\n';
175961 } else {
175962 error << "* Skip is set to \'" << options.dialect_options.skip_rows.GetValue() << "\'. Consider unsetting it."
175963 << '\n';
175964 }
175965 // ignore_errors
175966 if (!options.ignore_errors.GetValue()) {
175967 error << "* Enable ignore errors (ignore_errors=true) to ignore potential errors" << '\n';
175968 }
175969 // null_padding
175970 if (!options.null_padding) {
175971 error << "* Enable null padding (null_padding=true) to pad missing columns with NULL values" << '\n';
175972 }
175973
175974 return CSVError(error.str(), SNIFFING, {});
175975}
Here is the call graph for this function:

◆ UnterminatedQuotesError()

CSVError duckdb::CSVError::UnterminatedQuotesError ( const CSVReaderOptions & options,
idx_t current_column,
LinesPerBoundary error_info,
string & csv_row,
idx_t row_byte_position,
optional_idx byte_position,
const String & current_path )
static

Produces error messages for unterminated quoted values.

176073 {
176074 std::ostringstream error;
176075 error << "Value with unterminated quote found." << '\n';
176076 std::ostringstream how_to_fix_it;
176077 how_to_fix_it << "Possible fixes:" << '\n';
176078 if (options.dialect_options.state_machine_options.strict_mode.GetValue()) {
176079 how_to_fix_it << "* Disable the parser's strict mode (strict_mode=false) to allow reading rows that do not "
176080 "comply with the CSV standard."
176081 << '\n';
176082 }
176083 how_to_fix_it << "* Enable ignore errors (ignore_errors=true) to skip this row" << '\n';
176084 how_to_fix_it << "* Set quote to empty or to a different value (e.g., quote=\'\')" << '\n';
176085 return CSVError(error.str(), UNTERMINATED_QUOTES, current_column, csv_row, error_info, row_byte_position,
176086 byte_position, options, how_to_fix_it.str(), current_path);
176087}
@ UNTERMINATED_QUOTES
If the CSV has too many column.
Definition duckdb.cpp:166189
Here is the call graph for this function:

◆ NullPaddingFail()

CSVError duckdb::CSVError::NullPaddingFail ( const CSVReaderOptions & options,
LinesPerBoundary error_info,
const String & current_path )
static

Produces error messages for null_padding option is set, and we have quoted new values in parallel.

176061 {
176062 std::ostringstream error;
176063 error << " The parallel scanner does not support null_padding in conjunction with quoted new lines. Please "
176064 "disable the parallel csv reader with parallel=false"
176065 << '\n';
176066 // What were the options
176067 error << options.ToString(current_path);
176068 return CSVError(error.str(), NULLPADDED_QUOTED_NEW_VALUE, error_info);
176069}
@ NULLPADDED_QUOTED_NEW_VALUE
Maximum line size was exceeded by a line in the CSV File.
Definition duckdb.cpp:166192

◆ IncorrectColumnAmountError()

CSVError duckdb::CSVError::IncorrectColumnAmountError ( const CSVReaderOptions & state_machine,
idx_t actual_columns,
LinesPerBoundary error_info,
string & csv_row,
idx_t row_byte_position,
optional_idx byte_position,
const String & current_path )
static

Produces error for incorrect (e.g., smaller and lower than the predefined) number of columns in a CSV Line.

176091 {
176092 std::ostringstream error;
176093 // We don't have a fix for this
176094 std::ostringstream how_to_fix_it;
176095 how_to_fix_it << "Possible fixes:" << '\n';
176096 if (options.dialect_options.state_machine_options.strict_mode.GetValue()) {
176097 how_to_fix_it << "* Disable the parser's strict mode (strict_mode=false) to allow reading rows that do not "
176098 "comply with the CSV standard."
176099 << '\n';
176100 }
176101 if (!options.null_padding) {
176102 how_to_fix_it << "* Enable null padding (null_padding=true) to replace missing values with NULL" << '\n';
176103 }
176104 if (!options.ignore_errors.GetValue()) {
176105 how_to_fix_it << "* Enable ignore errors (ignore_errors=true) to skip this row" << '\n';
176106 }
176107 // How many columns were expected and how many were found
176108 error << "Expected Number of Columns: " << options.dialect_options.num_cols << " Found: " << actual_columns + 1;
176109 idx_t byte_pos = byte_position.GetIndex() == 0 ? 0 : byte_position.GetIndex() - 1;
176110 if (actual_columns >= options.dialect_options.num_cols) {
176111 return CSVError(error.str(), TOO_MANY_COLUMNS, actual_columns, csv_row, error_info, row_byte_position, byte_pos,
176112 options, how_to_fix_it.str(), current_path);
176113 } else {
176114 return CSVError(error.str(), TOO_FEW_COLUMNS, actual_columns, csv_row, error_info, row_byte_position, byte_pos,
176115 options, how_to_fix_it.str(), current_path);
176116 }
176117}
@ TOO_MANY_COLUMNS
If the CSV has too few columns.
Definition duckdb.cpp:166188
@ TOO_FEW_COLUMNS
If there is a mismatch between Column Names and Types.
Definition duckdb.cpp:166187
Here is the call graph for this function:

◆ InvalidUTF8()

CSVError duckdb::CSVError::InvalidUTF8 ( const CSVReaderOptions & options,
idx_t current_column,
LinesPerBoundary error_info,
string & csv_row,
idx_t row_byte_position,
optional_idx byte_position,
const String & current_path )
static
176121 {
176122 std::ostringstream error;
176123 // How many columns were expected and how many were found
176124 error << "Invalid unicode (byte sequence mismatch) detected. This file is not " << options.encoding << " encoded."
176125 << '\n';
176126 std::ostringstream how_to_fix_it;
176127 how_to_fix_it
176128 << "Possible Solution: Set the correct encoding, if available, to read this CSV File (e.g., encoding='UTF-16')"
176129 << '\n';
176130 how_to_fix_it << "Possible Solution: Enable ignore errors (ignore_errors=true) to skip this row" << '\n';
176131 return CSVError(error.str(), INVALID_ENCODING, current_column, csv_row, error_info, row_byte_position,
176132 byte_position, options, how_to_fix_it.str(), current_path);
176133}
@ INVALID_ENCODING
If the null_padding option is set, and we have quoted new values in parallel.
Definition duckdb.cpp:166193

◆ GetBoundaryIndex()

idx_t duckdb::CSVError::GetBoundaryIndex ( ) const
inline
166238 {
166239 return error_info.boundary_idx;
166240 }

◆ RemoveNewLine()

void duckdb::CSVError::RemoveNewLine ( string & error)
static

We might want to remove newline in errors if we are doing them for the rejects tables.

175853 {
175854 error = StringUtil::Split(error, "\n")[0];
175855}
static DUCKDB_API vector< string > Split(const string &str, char delimiter)
Split the input string based on newline char.
Definition duckdb.cpp:109734
Here is the call graph for this function:

Member Data Documentation

◆ full_error_message

string duckdb::CSVError::full_error_message

Full error message used in throws

  1. The Actual error
  2. How to fix it
  3. Options that generated the error

◆ type

CSVErrorType duckdb::CSVError::type {}

Error Type.

166253{};

◆ column_idx

idx_t duckdb::CSVError::column_idx {}

Column Index where error happened.

166255{};

◆ row_byte_position

idx_t duckdb::CSVError::row_byte_position {}

Byte position of where the row starts.

166261{};

The documentation for this class was generated from the following file: