duckdb 0.6.1-dev38.0 → 0.6.1-dev40.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 +3 -15
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +37541 -37541
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -82328,6 +82328,7 @@ public:
|
|
|
82328
82328
|
|
|
82329
82329
|
|
|
82330
82330
|
|
|
82331
|
+
|
|
82331
82332
|
namespace duckdb {
|
|
82332
82333
|
|
|
82333
82334
|
PhysicalBatchInsert::PhysicalBatchInsert(vector<LogicalType> types, TableCatalogEntry *table,
|
|
@@ -82370,22 +82371,9 @@ public:
|
|
|
82370
82371
|
if (Empty()) {
|
|
82371
82372
|
return nullptr;
|
|
82372
82373
|
}
|
|
82373
|
-
unique_ptr<RowGroupCollection> new_collection;
|
|
82374
|
-
if (current_collections.size()
|
|
82375
|
-
// we have gathered only one row group collection: merge it directly
|
|
82376
|
-
new_collection = move(current_collections[0]);
|
|
82377
|
-
} else {
|
|
82374
|
+
unique_ptr<RowGroupCollection> new_collection = move(current_collections[0]);
|
|
82375
|
+
if (current_collections.size() > 1) {
|
|
82378
82376
|
// we have gathered multiple collections: create one big collection and merge that
|
|
82379
|
-
// find the biggest collection
|
|
82380
|
-
idx_t biggest_index = 0;
|
|
82381
|
-
for (idx_t i = 1; i < current_collections.size(); i++) {
|
|
82382
|
-
D_ASSERT(current_collections[i]);
|
|
82383
|
-
if (current_collections[i]->GetTotalRows() > current_collections[biggest_index]->GetTotalRows()) {
|
|
82384
|
-
biggest_index = i;
|
|
82385
|
-
}
|
|
82386
|
-
}
|
|
82387
|
-
// now append all the other collections to this collection
|
|
82388
|
-
new_collection = move(current_collections[biggest_index]);
|
|
82389
82377
|
auto &types = new_collection->GetTypes();
|
|
82390
82378
|
TableAppendState append_state;
|
|
82391
82379
|
new_collection->InitializeAppend(append_state);
|
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.6.1-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "5f2be8bb26"
|
|
15
|
+
#define DUCKDB_VERSION "v0.6.1-dev40"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|