duckdb 0.4.1-dev93.0 → 0.4.1-dev98.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 +6 -6
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +36854 -36854
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -45213,9 +45213,9 @@ string Value::ToString() const {
|
|
|
45213
45213
|
case LogicalTypeId::UUID:
|
|
45214
45214
|
return UUID::ToString(value_.hugeint);
|
|
45215
45215
|
case LogicalTypeId::FLOAT:
|
|
45216
|
-
return
|
|
45216
|
+
return duckdb_fmt::format("{}", value_.float_);
|
|
45217
45217
|
case LogicalTypeId::DOUBLE:
|
|
45218
|
-
return
|
|
45218
|
+
return duckdb_fmt::format("{}", value_.double_);
|
|
45219
45219
|
case LogicalTypeId::DECIMAL: {
|
|
45220
45220
|
auto internal_type = type_.InternalType();
|
|
45221
45221
|
auto scale = DecimalType::GetScale(type_);
|
|
@@ -48362,7 +48362,7 @@ bool ApproxEqual(float ldecimal, float rdecimal) {
|
|
|
48362
48362
|
if (!Value::FloatIsFinite(ldecimal) || !Value::FloatIsFinite(rdecimal)) {
|
|
48363
48363
|
return ldecimal == rdecimal;
|
|
48364
48364
|
}
|
|
48365
|
-
float epsilon = std::fabs(rdecimal) * 0.01;
|
|
48365
|
+
float epsilon = std::fabs(rdecimal) * 0.01 + 0.00000001;
|
|
48366
48366
|
return std::fabs(ldecimal - rdecimal) <= epsilon;
|
|
48367
48367
|
}
|
|
48368
48368
|
|
|
@@ -48373,7 +48373,7 @@ bool ApproxEqual(double ldecimal, double rdecimal) {
|
|
|
48373
48373
|
if (!Value::DoubleIsFinite(ldecimal) || !Value::DoubleIsFinite(rdecimal)) {
|
|
48374
48374
|
return ldecimal == rdecimal;
|
|
48375
48375
|
}
|
|
48376
|
-
double epsilon = std::fabs(rdecimal) * 0.01;
|
|
48376
|
+
double epsilon = std::fabs(rdecimal) * 0.01 + 0.00000001;
|
|
48377
48377
|
return std::fabs(ldecimal - rdecimal) <= epsilon;
|
|
48378
48378
|
}
|
|
48379
48379
|
|
|
@@ -81558,7 +81558,7 @@ AggregateFunction GetEntropyFunction(PhysicalType type) {
|
|
|
81558
81558
|
switch (type) {
|
|
81559
81559
|
case PhysicalType::UINT16:
|
|
81560
81560
|
return AggregateFunction::UnaryAggregateDestructor<EntropyState<uint16_t>, uint16_t, double, EntropyFunction>(
|
|
81561
|
-
LogicalType::
|
|
81561
|
+
LogicalType::USMALLINT, LogicalType::DOUBLE);
|
|
81562
81562
|
case PhysicalType::UINT32:
|
|
81563
81563
|
return AggregateFunction::UnaryAggregateDestructor<EntropyState<uint32_t>, uint32_t, double, EntropyFunction>(
|
|
81564
81564
|
LogicalType::UINTEGER, LogicalType::DOUBLE);
|
|
@@ -81567,7 +81567,7 @@ AggregateFunction GetEntropyFunction(PhysicalType type) {
|
|
|
81567
81567
|
LogicalType::UBIGINT, LogicalType::DOUBLE);
|
|
81568
81568
|
case PhysicalType::INT16:
|
|
81569
81569
|
return AggregateFunction::UnaryAggregateDestructor<EntropyState<int16_t>, int16_t, double, EntropyFunction>(
|
|
81570
|
-
LogicalType::
|
|
81570
|
+
LogicalType::SMALLINT, LogicalType::DOUBLE);
|
|
81571
81571
|
case PhysicalType::INT32:
|
|
81572
81572
|
return AggregateFunction::UnaryAggregateDestructor<EntropyState<int32_t>, int32_t, double, EntropyFunction>(
|
|
81573
81573
|
LogicalType::INTEGER, LogicalType::DOUBLE);
|
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.4.1-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "918a8e5bc"
|
|
15
|
+
#define DUCKDB_VERSION "v0.4.1-dev98"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|