duckdb 0.5.2-dev664.0 → 0.5.2-dev667.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/duckdb.cpp +16 -0
- package/src/duckdb.hpp +4 -2
- package/src/parquet-amalgamation.cpp +24689 -24689
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -189785,6 +189785,22 @@ unique_ptr<LogicalOperator> LogicalOperator::Deserialize(Deserializer &deseriali
|
|
|
189785
189785
|
return result;
|
|
189786
189786
|
}
|
|
189787
189787
|
|
|
189788
|
+
unique_ptr<LogicalOperator> LogicalOperator::Copy(ClientContext &context) const {
|
|
189789
|
+
BufferedSerializer logical_op_serializer;
|
|
189790
|
+
try {
|
|
189791
|
+
this->Serialize(logical_op_serializer);
|
|
189792
|
+
} catch (NotImplementedException &ex) {
|
|
189793
|
+
throw NotImplementedException("Logical Operator Copy requires the logical operator and all of its children to "
|
|
189794
|
+
"be serializable: " +
|
|
189795
|
+
std::string(ex.what()));
|
|
189796
|
+
}
|
|
189797
|
+
auto data = logical_op_serializer.GetData();
|
|
189798
|
+
auto logical_op_deserializer = BufferedDeserializer(data.data.get(), data.size);
|
|
189799
|
+
PlanDeserializationState state(context);
|
|
189800
|
+
auto op_copy = LogicalOperator::Deserialize(logical_op_deserializer, state);
|
|
189801
|
+
return op_copy;
|
|
189802
|
+
}
|
|
189803
|
+
|
|
189788
189804
|
} // namespace duckdb
|
|
189789
189805
|
|
|
189790
189806
|
|
package/src/duckdb.hpp
CHANGED
|
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
11
11
|
#pragma once
|
|
12
12
|
#define DUCKDB_AMALGAMATION 1
|
|
13
13
|
#define DUCKDB_AMALGAMATION_EXTENDED 1
|
|
14
|
-
#define DUCKDB_SOURCE_ID "
|
|
15
|
-
#define DUCKDB_VERSION "v0.5.2-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "064466a3a"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.2-dev667"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -10175,6 +10175,8 @@ public:
|
|
|
10175
10175
|
|
|
10176
10176
|
static unique_ptr<LogicalOperator> Deserialize(Deserializer &deserializer, PlanDeserializationState &state);
|
|
10177
10177
|
|
|
10178
|
+
virtual unique_ptr<LogicalOperator> Copy(ClientContext &context) const;
|
|
10179
|
+
|
|
10178
10180
|
virtual bool RequireOptimizer() const {
|
|
10179
10181
|
return true;
|
|
10180
10182
|
}
|