duckdb 0.5.0 → 0.5.1-dev7.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 +7 -3
- package/src/duckdb.hpp +4 -4
- package/src/parquet-amalgamation.cpp +36241 -36241
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -64814,6 +64814,7 @@ public:
|
|
|
64814
64814
|
|
|
64815
64815
|
|
|
64816
64816
|
|
|
64817
|
+
|
|
64817
64818
|
//===----------------------------------------------------------------------===//
|
|
64818
64819
|
// DuckDB
|
|
64819
64820
|
//
|
|
@@ -64909,7 +64910,6 @@ private:
|
|
|
64909
64910
|
|
|
64910
64911
|
|
|
64911
64912
|
|
|
64912
|
-
|
|
64913
64913
|
#include <algorithm>
|
|
64914
64914
|
#include <cmath>
|
|
64915
64915
|
#include <numeric>
|
|
@@ -65605,7 +65605,10 @@ struct WindowInputExpression {
|
|
|
65605
65605
|
|
|
65606
65606
|
inline bool CellIsNull(idx_t i) const {
|
|
65607
65607
|
D_ASSERT(!chunk.data.empty());
|
|
65608
|
-
|
|
65608
|
+
if (chunk.data[0].GetVectorType() == VectorType::CONSTANT_VECTOR) {
|
|
65609
|
+
return ConstantVector::IsNull(chunk.data[0]);
|
|
65610
|
+
}
|
|
65611
|
+
return FlatVector::IsNull(chunk.data[0], i);
|
|
65609
65612
|
}
|
|
65610
65613
|
|
|
65611
65614
|
inline void CopyCell(Vector &target, idx_t target_offset) const {
|
|
@@ -186039,6 +186042,7 @@ unique_ptr<TableFilter> ConjunctionAndFilter::Deserialize(FieldReader &source) {
|
|
|
186039
186042
|
|
|
186040
186043
|
|
|
186041
186044
|
|
|
186045
|
+
|
|
186042
186046
|
namespace duckdb {
|
|
186043
186047
|
|
|
186044
186048
|
ConstantFilter::ConstantFilter(ExpressionType comparison_type_p, Value constant_p)
|
|
@@ -186062,7 +186066,7 @@ FilterPropagateResult ConstantFilter::CheckStatistics(BaseStatistics &stats) {
|
|
|
186062
186066
|
case PhysicalType::DOUBLE:
|
|
186063
186067
|
return ((NumericStatistics &)stats).CheckZonemap(comparison_type, constant);
|
|
186064
186068
|
case PhysicalType::VARCHAR:
|
|
186065
|
-
return ((StringStatistics &)stats).CheckZonemap(comparison_type, constant
|
|
186069
|
+
return ((StringStatistics &)stats).CheckZonemap(comparison_type, StringValue::Get(constant));
|
|
186066
186070
|
default:
|
|
186067
186071
|
return FilterPropagateResult::NO_PRUNING_POSSIBLE;
|
|
186068
186072
|
}
|
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.
|
|
14
|
+
#define DUCKDB_SOURCE_ID "9656abd17"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.1-dev7"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -3372,8 +3372,8 @@ public:
|
|
|
3372
3372
|
DUCKDB_API AllocatedData(Allocator &allocator, data_ptr_t pointer, idx_t allocated_size);
|
|
3373
3373
|
DUCKDB_API ~AllocatedData();
|
|
3374
3374
|
// disable copy constructors
|
|
3375
|
-
|
|
3376
|
-
|
|
3375
|
+
AllocatedData(const AllocatedData &other) = delete;
|
|
3376
|
+
AllocatedData &operator=(const AllocatedData &) = delete;
|
|
3377
3377
|
//! enable move constructors
|
|
3378
3378
|
DUCKDB_API AllocatedData(AllocatedData &&other) noexcept;
|
|
3379
3379
|
DUCKDB_API AllocatedData &operator=(AllocatedData &&) noexcept;
|