duckdb 0.3.5-dev162.0 → 0.3.5-dev164.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
- "version": "0.3.5-dev162.0",
4
+ "version": "0.3.5-dev164.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -88836,8 +88836,8 @@ void ListExtractFun::RegisterFunction(BuiltinFunctions &set) {
88836
88836
  namespace duckdb {
88837
88837
 
88838
88838
  struct ListSortBindData : public FunctionData {
88839
- ListSortBindData(OrderType order_type_p, OrderByNullType null_order_p, LogicalType &return_type_p,
88840
- LogicalType &child_type_p, ClientContext &context_p);
88839
+ ListSortBindData(OrderType order_type_p, OrderByNullType null_order_p, const LogicalType &return_type_p,
88840
+ const LogicalType &child_type_p, ClientContext &context_p);
88841
88841
  ~ListSortBindData() override;
88842
88842
 
88843
88843
  OrderType order_type;
@@ -88853,11 +88853,14 @@ struct ListSortBindData : public FunctionData {
88853
88853
  RowLayout payload_layout;
88854
88854
  vector<BoundOrderByNode> orders;
88855
88855
 
88856
- unique_ptr<FunctionData> Copy() override;
88856
+ public:
88857
+ bool Equals(const FunctionData &other_p) const override;
88858
+ unique_ptr<FunctionData> Copy() const override;
88857
88859
  };
88858
88860
 
88859
- ListSortBindData::ListSortBindData(OrderType order_type_p, OrderByNullType null_order_p, LogicalType &return_type_p,
88860
- LogicalType &child_type_p, ClientContext &context_p)
88861
+ ListSortBindData::ListSortBindData(OrderType order_type_p, OrderByNullType null_order_p,
88862
+ const LogicalType &return_type_p, const LogicalType &child_type_p,
88863
+ ClientContext &context_p)
88861
88864
  : order_type(order_type_p), null_order(null_order_p), return_type(return_type_p), child_type(child_type_p),
88862
88865
  context(context_p) {
88863
88866
 
@@ -88880,10 +88883,15 @@ ListSortBindData::ListSortBindData(OrderType order_type_p, OrderByNullType null_
88880
88883
  orders.emplace_back(order_type, null_order, move(lists_col_expr));
88881
88884
  }
88882
88885
 
88883
- unique_ptr<FunctionData> ListSortBindData::Copy() {
88886
+ unique_ptr<FunctionData> ListSortBindData::Copy() const {
88884
88887
  return make_unique<ListSortBindData>(order_type, null_order, return_type, child_type, context);
88885
88888
  }
88886
88889
 
88890
+ bool ListSortBindData::Equals(const FunctionData &other_p) const {
88891
+ auto &other = (ListSortBindData &)other_p;
88892
+ return order_type == other.order_type && null_order == other.null_order;
88893
+ }
88894
+
88887
88895
  ListSortBindData::~ListSortBindData() {
88888
88896
  }
88889
88897
 
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 "7eab6f369"
15
- #define DUCKDB_VERSION "v0.3.5-dev162"
14
+ #define DUCKDB_SOURCE_ID "e4ba94a4f"
15
+ #define DUCKDB_VERSION "v0.3.5-dev164"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //