duckdb 0.5.2-dev55.0 → 0.5.2-dev62.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 +13 -13
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +20194 -20194
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -34073,7 +34073,7 @@ static void ComputeStringEntrySizes(UnifiedVectorFormat &vdata, idx_t entry_size
|
|
|
34073
34073
|
auto strings = (string_t *)vdata.data;
|
|
34074
34074
|
for (idx_t i = 0; i < ser_count; i++) {
|
|
34075
34075
|
auto idx = sel.get_index(i);
|
|
34076
|
-
auto str_idx = vdata.sel->get_index(idx
|
|
34076
|
+
auto str_idx = vdata.sel->get_index(idx + offset);
|
|
34077
34077
|
if (vdata.validity.RowIsValid(str_idx)) {
|
|
34078
34078
|
entry_sizes[i] += sizeof(uint32_t) + strings[str_idx].GetSize();
|
|
34079
34079
|
}
|
|
@@ -34104,7 +34104,7 @@ static void ComputeListEntrySizes(Vector &v, UnifiedVectorFormat &vdata, idx_t e
|
|
|
34104
34104
|
idx_t list_entry_sizes[STANDARD_VECTOR_SIZE];
|
|
34105
34105
|
for (idx_t i = 0; i < ser_count; i++) {
|
|
34106
34106
|
auto idx = sel.get_index(i);
|
|
34107
|
-
auto source_idx = vdata.sel->get_index(idx
|
|
34107
|
+
auto source_idx = vdata.sel->get_index(idx + offset);
|
|
34108
34108
|
if (vdata.validity.RowIsValid(source_idx)) {
|
|
34109
34109
|
auto list_entry = list_data[source_idx];
|
|
34110
34110
|
|
|
@@ -34182,7 +34182,7 @@ static void TemplatedHeapScatter(UnifiedVectorFormat &vdata, const SelectionVect
|
|
|
34182
34182
|
if (!validitymask_locations) {
|
|
34183
34183
|
for (idx_t i = 0; i < count; i++) {
|
|
34184
34184
|
auto idx = sel.get_index(i);
|
|
34185
|
-
auto source_idx = vdata.sel->get_index(idx
|
|
34185
|
+
auto source_idx = vdata.sel->get_index(idx + offset);
|
|
34186
34186
|
|
|
34187
34187
|
auto target = (T *)key_locations[i];
|
|
34188
34188
|
Store<T>(source[source_idx], (data_ptr_t)target);
|
|
@@ -34195,7 +34195,7 @@ static void TemplatedHeapScatter(UnifiedVectorFormat &vdata, const SelectionVect
|
|
|
34195
34195
|
const auto bit = ~(1UL << idx_in_entry);
|
|
34196
34196
|
for (idx_t i = 0; i < count; i++) {
|
|
34197
34197
|
auto idx = sel.get_index(i);
|
|
34198
|
-
auto source_idx = vdata.sel->get_index(idx
|
|
34198
|
+
auto source_idx = vdata.sel->get_index(idx + offset);
|
|
34199
34199
|
|
|
34200
34200
|
auto target = (T *)key_locations[i];
|
|
34201
34201
|
Store<T>(source[source_idx], (data_ptr_t)target);
|
|
@@ -34218,7 +34218,7 @@ static void HeapScatterStringVector(Vector &v, idx_t vcount, const SelectionVect
|
|
|
34218
34218
|
if (!validitymask_locations) {
|
|
34219
34219
|
for (idx_t i = 0; i < ser_count; i++) {
|
|
34220
34220
|
auto idx = sel.get_index(i);
|
|
34221
|
-
auto source_idx = vdata.sel->get_index(idx
|
|
34221
|
+
auto source_idx = vdata.sel->get_index(idx + offset);
|
|
34222
34222
|
if (vdata.validity.RowIsValid(source_idx)) {
|
|
34223
34223
|
auto &string_entry = strings[source_idx];
|
|
34224
34224
|
// store string size
|
|
@@ -34236,7 +34236,7 @@ static void HeapScatterStringVector(Vector &v, idx_t vcount, const SelectionVect
|
|
|
34236
34236
|
const auto bit = ~(1UL << idx_in_entry);
|
|
34237
34237
|
for (idx_t i = 0; i < ser_count; i++) {
|
|
34238
34238
|
auto idx = sel.get_index(i);
|
|
34239
|
-
auto source_idx = vdata.sel->get_index(idx
|
|
34239
|
+
auto source_idx = vdata.sel->get_index(idx + offset);
|
|
34240
34240
|
if (vdata.validity.RowIsValid(source_idx)) {
|
|
34241
34241
|
auto &string_entry = strings[source_idx];
|
|
34242
34242
|
// store string size
|
|
@@ -34314,7 +34314,7 @@ static void HeapScatterListVector(Vector &v, idx_t vcount, const SelectionVector
|
|
|
34314
34314
|
|
|
34315
34315
|
for (idx_t i = 0; i < ser_count; i++) {
|
|
34316
34316
|
auto idx = sel.get_index(i);
|
|
34317
|
-
auto source_idx = vdata.sel->get_index(idx
|
|
34317
|
+
auto source_idx = vdata.sel->get_index(idx + offset);
|
|
34318
34318
|
if (!vdata.validity.RowIsValid(source_idx)) {
|
|
34319
34319
|
if (validitymask_locations) {
|
|
34320
34320
|
// set the row validitymask for this column to invalid
|
|
@@ -178885,6 +178885,10 @@ unique_ptr<LogicalOperator> Binder::CreatePlan(BoundSetOperationNode &node) {
|
|
|
178885
178885
|
|
|
178886
178886
|
|
|
178887
178887
|
|
|
178888
|
+
|
|
178889
|
+
|
|
178890
|
+
|
|
178891
|
+
|
|
178888
178892
|
//===----------------------------------------------------------------------===//
|
|
178889
178893
|
// DuckDB
|
|
178890
178894
|
//
|
|
@@ -178936,10 +178940,6 @@ private:
|
|
|
178936
178940
|
} // namespace duckdb
|
|
178937
178941
|
|
|
178938
178942
|
|
|
178939
|
-
|
|
178940
|
-
|
|
178941
|
-
|
|
178942
|
-
|
|
178943
178943
|
namespace duckdb {
|
|
178944
178944
|
|
|
178945
178945
|
static unique_ptr<Expression> PlanUncorrelatedSubquery(Binder &binder, BoundSubqueryExpression &expr,
|
|
@@ -179191,7 +179191,7 @@ static unique_ptr<Expression> PlanCorrelatedSubquery(Binder &binder, BoundSubque
|
|
|
179191
179191
|
auto delim_join = CreateDuplicateEliminatedJoin(correlated_columns, JoinType::MARK, move(root), perform_delim);
|
|
179192
179192
|
delim_join->mark_index = mark_index;
|
|
179193
179193
|
// RHS
|
|
179194
|
-
FlattenDependentJoins flatten(binder, correlated_columns, perform_delim);
|
|
179194
|
+
FlattenDependentJoins flatten(binder, correlated_columns, perform_delim, true);
|
|
179195
179195
|
flatten.DetectCorrelatedExpressions(plan.get());
|
|
179196
179196
|
auto dependent_join = flatten.PushDownDependentJoin(move(plan));
|
|
179197
179197
|
|
|
@@ -179218,7 +179218,7 @@ static unique_ptr<Expression> PlanCorrelatedSubquery(Binder &binder, BoundSubque
|
|
|
179218
179218
|
auto delim_join = CreateDuplicateEliminatedJoin(correlated_columns, JoinType::MARK, move(root), perform_delim);
|
|
179219
179219
|
delim_join->mark_index = mark_index;
|
|
179220
179220
|
// RHS
|
|
179221
|
-
FlattenDependentJoins flatten(binder, correlated_columns, true);
|
|
179221
|
+
FlattenDependentJoins flatten(binder, correlated_columns, true, true);
|
|
179222
179222
|
flatten.DetectCorrelatedExpressions(plan.get());
|
|
179223
179223
|
auto dependent_join = flatten.PushDownDependentJoin(move(plan));
|
|
179224
179224
|
|
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 "48dd0a401"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.2-dev62"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|