Skip to content

Commit

Permalink
support both DELIM and DELIMITER as option name
Browse files Browse the repository at this point in the history
  • Loading branch information
sterling committed Sep 11, 2024
1 parent a6be115 commit 6734273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/copier_config/csv_reader_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static void bindStringParsingOption(CSVReaderConfig& config, const std::string&
auto parsingOptionValue = bindParsingOptionValue(optionValue);
if (optionName == "ESCAPE") {
config.option.escapeChar = parsingOptionValue;
} else if (optionName == "DELIM") {
} else if (optionName == "DELIM" || optionName == "DELIMITER") {
config.option.delimiter = parsingOptionValue;
} else if (optionName == "QUOTE") {
config.option.quoteChar = parsingOptionValue;
Expand Down

0 comments on commit 6734273

Please sign in to comment.