duckdb 0.3.3-dev1275.0 → 0.3.3-dev1279.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.hpp +4 -7
- package/src/parquet-amalgamation.cpp +37009 -37009
package/package.json
CHANGED
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 "f1278198b"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.3-dev1279"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -5504,10 +5504,9 @@ class CycleCounter {
|
|
|
5504
5504
|
friend struct ExpressionInfo;
|
|
5505
5505
|
friend struct ExpressionRootInfo;
|
|
5506
5506
|
static constexpr int SAMPLING_RATE = 50;
|
|
5507
|
-
static constexpr int SAMPLING_VARIANCE = 100;
|
|
5508
5507
|
|
|
5509
5508
|
public:
|
|
5510
|
-
CycleCounter()
|
|
5509
|
+
CycleCounter() {
|
|
5511
5510
|
}
|
|
5512
5511
|
// Next_sample determines if a sample needs to be taken, if so start the profiler
|
|
5513
5512
|
void BeginSample() {
|
|
@@ -5522,7 +5521,7 @@ public:
|
|
|
5522
5521
|
time += Tick() - tmp;
|
|
5523
5522
|
}
|
|
5524
5523
|
if (current_count >= next_sample) {
|
|
5525
|
-
next_sample = SAMPLING_RATE
|
|
5524
|
+
next_sample = SAMPLING_RATE;
|
|
5526
5525
|
++sample_count;
|
|
5527
5526
|
sample_tuples_count += chunk_size;
|
|
5528
5527
|
current_count = 0;
|
|
@@ -5548,8 +5547,6 @@ private:
|
|
|
5548
5547
|
uint64_t sample_tuples_count = 0;
|
|
5549
5548
|
//! Count the number of ALL tuples
|
|
5550
5549
|
uint64_t tuples_count = 0;
|
|
5551
|
-
//! the random number generator used for sampling
|
|
5552
|
-
RandomEngine random;
|
|
5553
5550
|
};
|
|
5554
5551
|
|
|
5555
5552
|
} // namespace duckdb
|