duckdb 0.5.2-dev2286.0 → 0.5.2-dev2292.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 +2 -1
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +37735 -37735
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -199633,6 +199633,7 @@ unique_ptr<LogicalOperator> LogicalLimit::Deserialize(LogicalDeserializationStat
|
|
|
199633
199633
|
} // namespace duckdb
|
|
199634
199634
|
|
|
199635
199635
|
|
|
199636
|
+
#include <cmath>
|
|
199636
199637
|
|
|
199637
199638
|
namespace duckdb {
|
|
199638
199639
|
|
|
@@ -199653,7 +199654,7 @@ unique_ptr<LogicalOperator> LogicalLimitPercent::Deserialize(LogicalDeserializat
|
|
|
199653
199654
|
|
|
199654
199655
|
idx_t LogicalLimitPercent::EstimateCardinality(ClientContext &context) {
|
|
199655
199656
|
auto child_cardinality = LogicalOperator::EstimateCardinality(context);
|
|
199656
|
-
if (limit_percent < 0 || limit_percent > 100) {
|
|
199657
|
+
if ((limit_percent < 0 || limit_percent > 100) || std::isnan(limit_percent)) {
|
|
199657
199658
|
return child_cardinality;
|
|
199658
199659
|
}
|
|
199659
199660
|
return idx_t(child_cardinality * (limit_percent / 100.0));
|
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 "ac66953ccd"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.2-dev2292"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|