Skip to content

Commit

Permalink
chore: Update vendored sources to duckdb/duckdb@df82a0e (#429)
Browse files Browse the repository at this point in the history
Use defaults when serializing copy to file (duckdb/duckdb#13978)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and krlmlr authored Sep 27, 2024
1 parent 1dfd04d commit 25cf1c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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-dev176"
#define DUCKDB_PATCH_VERSION "1-dev178"
#endif
#ifndef DUCKDB_MINOR_VERSION
#define DUCKDB_MINOR_VERSION 1
Expand All @@ -8,10 +8,10 @@
#define DUCKDB_MAJOR_VERSION 1
#endif
#ifndef DUCKDB_VERSION
#define DUCKDB_VERSION "v1.1.1-dev176"
#define DUCKDB_VERSION "v1.1.1-dev178"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "86723c9912"
#define DUCKDB_SOURCE_ID "df82a0e2c4"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
Expand Down
4 changes: 2 additions & 2 deletions src/duckdb/src/planner/operator/logical_copy_to_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void LogicalCopyToFile::Serialize(Serializer &serializer) const {
serializer.WriteProperty(213, "file_extension", file_extension);
serializer.WriteProperty(214, "rotate", rotate);
serializer.WriteProperty(215, "return_type", return_type);
serializer.WriteProperty(216, "write_partition_columns", write_partition_columns);
serializer.WritePropertyWithDefault(216, "write_partition_columns", write_partition_columns, true);
}

unique_ptr<LogicalOperator> LogicalCopyToFile::Deserialize(Deserializer &deserializer) {
Expand Down Expand Up @@ -109,7 +109,7 @@ unique_ptr<LogicalOperator> LogicalCopyToFile::Deserialize(Deserializer &deseria
auto rotate = deserializer.ReadPropertyWithExplicitDefault(214, "rotate", false);
auto return_type =
deserializer.ReadPropertyWithExplicitDefault(215, "return_type", CopyFunctionReturnType::CHANGED_ROWS);
auto write_partition_columns = deserializer.ReadProperty<bool>(216, "write_partition_columns");
auto write_partition_columns = deserializer.ReadPropertyWithExplicitDefault(216, "write_partition_columns", true);

if (!has_serialize) {
// If not serialized, re-bind with the copy info
Expand Down

0 comments on commit 25cf1c2

Please sign in to comment.