duckdb 0.3.3-dev1297.0 → 0.3.3-dev1306.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 +222 -258
- package/src/duckdb.hpp +12 -28
- package/src/parquet-amalgamation.cpp +36297 -36297
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.3.3-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "95746b329"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.3-dev1306"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -4321,26 +4321,13 @@ struct VectorOperations {
|
|
|
4321
4321
|
//===--------------------------------------------------------------------===//
|
|
4322
4322
|
// Nested Comparisons
|
|
4323
4323
|
//===--------------------------------------------------------------------===//
|
|
4324
|
-
// true := A != B with nulls being equal
|
|
4325
|
-
static idx_t NestedNotEquals(Vector &left, Vector &right,
|
|
4324
|
+
// true := A != B with nulls being equal
|
|
4325
|
+
static idx_t NestedNotEquals(Vector &left, Vector &right, const SelectionVector &sel, idx_t count,
|
|
4326
4326
|
SelectionVector *true_sel, SelectionVector *false_sel);
|
|
4327
|
-
// true := A == B with nulls being equal
|
|
4328
|
-
static idx_t NestedEquals(Vector &left, Vector &right,
|
|
4327
|
+
// true := A == B with nulls being equal
|
|
4328
|
+
static idx_t NestedEquals(Vector &left, Vector &right, const SelectionVector &sel, idx_t count,
|
|
4329
4329
|
SelectionVector *true_sel, SelectionVector *false_sel);
|
|
4330
4330
|
|
|
4331
|
-
// true := A > B with nulls being maximal, inputs selected
|
|
4332
|
-
static idx_t NestedGreaterThan(Vector &left, Vector &right, idx_t vcount, const SelectionVector &sel, idx_t count,
|
|
4333
|
-
SelectionVector *true_sel, SelectionVector *false_sel);
|
|
4334
|
-
// true := A >= B with nulls being maximal, inputs selected
|
|
4335
|
-
static idx_t NestedGreaterThanEquals(Vector &left, Vector &right, idx_t vcount, const SelectionVector &sel,
|
|
4336
|
-
idx_t count, SelectionVector *true_sel, SelectionVector *false_sel);
|
|
4337
|
-
// true := A < B with nulls being maximal, inputs selected
|
|
4338
|
-
static idx_t NestedLessThan(Vector &left, Vector &right, idx_t vcount, const SelectionVector &sel, idx_t count,
|
|
4339
|
-
SelectionVector *true_sel, SelectionVector *false_sel);
|
|
4340
|
-
// true := A <= B with nulls being maximal, inputs selected
|
|
4341
|
-
static idx_t NestedLessThanEquals(Vector &left, Vector &right, idx_t vcount, const SelectionVector &sel,
|
|
4342
|
-
idx_t count, SelectionVector *true_sel, SelectionVector *false_sel);
|
|
4343
|
-
|
|
4344
4331
|
//===--------------------------------------------------------------------===//
|
|
4345
4332
|
// Hash functions
|
|
4346
4333
|
//===--------------------------------------------------------------------===//
|
|
@@ -13540,9 +13527,10 @@ private:
|
|
|
13540
13527
|
private:
|
|
13541
13528
|
//! Bind the default values of the columns of a table
|
|
13542
13529
|
void BindDefaultValues(vector<ColumnDefinition> &columns, vector<unique_ptr<Expression>> &bound_defaults);
|
|
13543
|
-
//! Bind a
|
|
13544
|
-
unique_ptr<Expression> BindDelimiter(ClientContext &context,
|
|
13545
|
-
const LogicalType &type,
|
|
13530
|
+
//! Bind a limit value (LIMIT or OFFSET)
|
|
13531
|
+
unique_ptr<Expression> BindDelimiter(ClientContext &context, OrderBinder &order_binder,
|
|
13532
|
+
unique_ptr<ParsedExpression> delimiter, const LogicalType &type,
|
|
13533
|
+
Value &delimiter_value);
|
|
13546
13534
|
|
|
13547
13535
|
//! Move correlated expressions from the child binder to this binder
|
|
13548
13536
|
void MoveCorrelatedExpressions(Binder &other);
|
|
@@ -13603,10 +13591,6 @@ private:
|
|
|
13603
13591
|
unique_ptr<LogicalOperator> CreatePlan(BoundExpressionListRef &ref);
|
|
13604
13592
|
unique_ptr<LogicalOperator> CreatePlan(BoundCTERef &ref);
|
|
13605
13593
|
|
|
13606
|
-
unique_ptr<LogicalOperator> BindTable(TableCatalogEntry &table, BaseTableRef &ref);
|
|
13607
|
-
unique_ptr<LogicalOperator> BindView(ViewCatalogEntry &view, BaseTableRef &ref);
|
|
13608
|
-
unique_ptr<LogicalOperator> BindTableOrView(BaseTableRef &ref);
|
|
13609
|
-
|
|
13610
13594
|
BoundStatement BindCopyTo(CopyStatement &stmt);
|
|
13611
13595
|
BoundStatement BindCopyFrom(CopyStatement &stmt);
|
|
13612
13596
|
|
|
@@ -13614,8 +13598,8 @@ private:
|
|
|
13614
13598
|
void BindModifierTypes(BoundQueryNode &result, const vector<LogicalType> &sql_types, idx_t projection_index);
|
|
13615
13599
|
|
|
13616
13600
|
BoundStatement BindSummarize(ShowStatement &stmt);
|
|
13617
|
-
unique_ptr<BoundResultModifier> BindLimit(LimitModifier &limit_mod);
|
|
13618
|
-
unique_ptr<BoundResultModifier> BindLimitPercent(LimitPercentModifier &limit_mod);
|
|
13601
|
+
unique_ptr<BoundResultModifier> BindLimit(OrderBinder &order_binder, LimitModifier &limit_mod);
|
|
13602
|
+
unique_ptr<BoundResultModifier> BindLimitPercent(OrderBinder &order_binder, LimitPercentModifier &limit_mod);
|
|
13619
13603
|
unique_ptr<Expression> BindOrderExpression(OrderBinder &order_binder, unique_ptr<ParsedExpression> expr);
|
|
13620
13604
|
|
|
13621
13605
|
unique_ptr<LogicalOperator> PlanFilter(unique_ptr<Expression> condition, unique_ptr<LogicalOperator> root);
|