Skip to content

Commit

Permalink
chore: Update vendored sources to duckdb/duckdb@7a7547f (#350)
Browse files Browse the repository at this point in the history
Merge pull request duckdb/duckdb#13737 from pdet/fix_comment_default

Co-authored-by: krlmlr <[email protected]>
  • Loading branch information
github-actions[bot] and krlmlr authored Sep 10, 2024
1 parent d59cdc2 commit 183f7fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/duckdb/src/function/table/version/pragma_version.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DUCKDB_PATCH_VERSION
#define DUCKDB_PATCH_VERSION "1-dev5181"
#define DUCKDB_PATCH_VERSION "1-dev5183"
#endif
#ifndef DUCKDB_MINOR_VERSION
#define DUCKDB_MINOR_VERSION 0
Expand All @@ -8,10 +8,10 @@
#define DUCKDB_MAJOR_VERSION 1
#endif
#ifndef DUCKDB_VERSION
#define DUCKDB_VERSION "v1.0.1-dev5181"
#define DUCKDB_VERSION "v1.0.1-dev5183"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "fa2daf7a09"
#define DUCKDB_SOURCE_ID "7a7547f5da"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ struct CSVReaderOptions {
//===--------------------------------------------------------------------===//
//! See struct above.
DialectOptions dialect_options;
//! Whether or not we should ignore InvalidInput errors
//! Whether we should ignore InvalidInput errors
CSVOption<bool> ignore_errors = false;
//! Whether we store CSV Errors in the rejects table or not
CSVOption<bool> store_rejects = false;
//! Rejects table name (Name of the table the store rejects errors)
CSVOption<string> rejects_table_name = {"reject_errors"};
//! Rejects Scan name name (Name of the table the store rejects scans)
//! Rejects Scan name (Name of the table the store rejects scans)
CSVOption<string> rejects_scan_name = {"reject_scans"};
//! Rejects table entry limit (0 = no limit)
idx_t rejects_limit = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/duckdb/src/storage/serialization/serialize_nodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void CSVReaderOptions::Serialize(Serializer &serializer) const {
serializer.WritePropertyWithDefault<vector<LogicalType>>(134, "sql_type_list", sql_type_list);
serializer.WritePropertyWithDefault<case_insensitive_map_t<idx_t>>(135, "sql_types_per_column", sql_types_per_column);
serializer.WritePropertyWithDefault<bool>(136, "columns_set", columns_set, false);
serializer.WritePropertyWithDefault<CSVOption<char>>(137, "dialect_options.state_machine_options.comment", dialect_options.state_machine_options.comment, CSVOption<char>());
serializer.WritePropertyWithDefault<CSVOption<char>>(137, "dialect_options.state_machine_options.comment", dialect_options.state_machine_options.comment, CSVOption<char>('\0'));
serializer.WritePropertyWithDefault<idx_t>(138, "dialect_options.rows_until_header", dialect_options.rows_until_header);
}

Expand Down Expand Up @@ -246,7 +246,7 @@ CSVReaderOptions CSVReaderOptions::Deserialize(Deserializer &deserializer) {
deserializer.ReadPropertyWithDefault<vector<LogicalType>>(134, "sql_type_list", result.sql_type_list);
deserializer.ReadPropertyWithDefault<case_insensitive_map_t<idx_t>>(135, "sql_types_per_column", result.sql_types_per_column);
deserializer.ReadPropertyWithExplicitDefault<bool>(136, "columns_set", result.columns_set, false);
deserializer.ReadPropertyWithExplicitDefault<CSVOption<char>>(137, "dialect_options.state_machine_options.comment", result.dialect_options.state_machine_options.comment, CSVOption<char>());
deserializer.ReadPropertyWithExplicitDefault<CSVOption<char>>(137, "dialect_options.state_machine_options.comment", result.dialect_options.state_machine_options.comment, CSVOption<char>('\0'));
deserializer.ReadPropertyWithDefault<idx_t>(138, "dialect_options.rows_until_header", result.dialect_options.rows_until_header);
return result;
}
Expand Down

0 comments on commit 183f7fd

Please sign in to comment.