duckdb 0.3.2-dev1201.0 → 0.3.2-dev1203.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 -1
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +36142 -36142
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -138047,7 +138047,9 @@ unique_ptr<ConstantExpression> Transformer::TransformValue(duckdb_libpgquery::PG
|
|
|
138047
138047
|
return make_unique<ConstantExpression>(Value::HUGEINT(hugeint_value));
|
|
138048
138048
|
}
|
|
138049
138049
|
}
|
|
138050
|
-
|
|
138050
|
+
idx_t decimal_offset = val.val.str[0] == '-' ? 3 : 2;
|
|
138051
|
+
if (try_cast_as_decimal && decimal_position >= 0 &&
|
|
138052
|
+
str_val.GetSize() < Decimal::MAX_WIDTH_DECIMAL + decimal_offset) {
|
|
138051
138053
|
// figure out the width/scale based on the decimal position
|
|
138052
138054
|
auto width = uint8_t(str_val.GetSize() - 1);
|
|
138053
138055
|
auto scale = uint8_t(width - decimal_position);
|
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.2-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "c5011ea99"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.2-dev1203"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|