duckdb 0.3.2-dev1332.0 → 0.3.2-dev1335.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.2-dev1332.0",
4
+ "version": "0.3.2-dev1335.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -40015,7 +40015,7 @@ DistinctSelectGenericLoopSwitch(LEFT_TYPE *__restrict ldata, RIGHT_TYPE *__restr
40015
40015
  const SelectionVector *__restrict lsel, const SelectionVector *__restrict rsel,
40016
40016
  const SelectionVector *__restrict result_sel, idx_t count, ValidityMask &lmask,
40017
40017
  ValidityMask &rmask, SelectionVector *true_sel, SelectionVector *false_sel) {
40018
- if (!lmask.AllValid() || rmask.AllValid()) {
40018
+ if (!lmask.AllValid() || !rmask.AllValid()) {
40019
40019
  return DistinctSelectGenericLoopSelSwitch<LEFT_TYPE, RIGHT_TYPE, OP, DENSE, false>(
40020
40020
  ldata, rdata, lsel, rsel, result_sel, count, lmask, rmask, true_sel, false_sel);
40021
40021
  } else {
@@ -56738,6 +56738,7 @@ bool TopNHeap::CheckBoundaryValues(DataChunk &sort_chunk, DataChunk &payload) {
56738
56738
  idx_t false_count = remaining_count - true_count;
56739
56739
  if (false_count > 0) {
56740
56740
  // check what we should continue to check
56741
+ compare_chunk.data[i].Slice(sort_chunk.data[i], false_sel, false_count);
56741
56742
  remaining_count = VectorOperations::NotDistinctFrom(compare_chunk.data[i], boundary_values.data[i],
56742
56743
  &false_sel, false_count, &new_remaining_sel, nullptr);
56743
56744
  if (is_last) {
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 "9c16ab9ed"
15
- #define DUCKDB_VERSION "v0.3.2-dev1332"
14
+ #define DUCKDB_SOURCE_ID "458017218"
15
+ #define DUCKDB_VERSION "v0.3.2-dev1335"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //