duckdb 0.3.3-dev901.0 → 0.3.3-dev918.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 +24 -1
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +25400 -25391
- package/src/parquet-amalgamation.hpp +3 -3
|
@@ -7133,7 +7133,7 @@ public:
|
|
|
7133
7133
|
throw std::runtime_error("Decode bit width too large");
|
|
7134
7134
|
}
|
|
7135
7135
|
byte_encoded_len = ((bit_width_ + 7) / 8);
|
|
7136
|
-
max_val = (1 << bit_width_) - 1;
|
|
7136
|
+
max_val = (uint64_t(1) << bit_width_) - 1;
|
|
7137
7137
|
}
|
|
7138
7138
|
|
|
7139
7139
|
template <typename T>
|
|
@@ -7185,12 +7185,12 @@ private:
|
|
|
7185
7185
|
ByteBuffer buffer_;
|
|
7186
7186
|
|
|
7187
7187
|
/// Number of bits needed to encode the value. Must be between 0 and 64.
|
|
7188
|
-
|
|
7188
|
+
uint32_t bit_width_;
|
|
7189
7189
|
uint64_t current_value_;
|
|
7190
7190
|
uint32_t repeat_count_;
|
|
7191
7191
|
uint32_t literal_count_;
|
|
7192
7192
|
uint8_t byte_encoded_len;
|
|
7193
|
-
|
|
7193
|
+
uint64_t max_val;
|
|
7194
7194
|
|
|
7195
7195
|
uint8_t bitpack_pos = 0;
|
|
7196
7196
|
|