duckdb 0.6.2-dev889.0 → 0.6.2-dev891.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
CHANGED
|
@@ -212,10 +212,17 @@ void ColumnReader::PreparePageV2(PageHeader &page_hdr) {
|
|
|
212
212
|
auto &trans = (ThriftFileTransport &)*protocol->getTransport();
|
|
213
213
|
|
|
214
214
|
AllocateBlock(page_hdr.uncompressed_page_size + 1);
|
|
215
|
+
bool uncompressed = false;
|
|
216
|
+
if (page_hdr.data_page_header_v2.__isset.is_compressed && !page_hdr.data_page_header_v2.is_compressed) {
|
|
217
|
+
uncompressed = true;
|
|
218
|
+
}
|
|
215
219
|
if (chunk->meta_data.codec == CompressionCodec::UNCOMPRESSED) {
|
|
216
220
|
if (page_hdr.compressed_page_size != page_hdr.uncompressed_page_size) {
|
|
217
221
|
throw std::runtime_error("Page size mismatch");
|
|
218
222
|
}
|
|
223
|
+
uncompressed = true;
|
|
224
|
+
}
|
|
225
|
+
if (uncompressed) {
|
|
219
226
|
trans.read((uint8_t *)block->ptr, page_hdr.compressed_page_size);
|
|
220
227
|
return;
|
|
221
228
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#ifndef DUCKDB_VERSION
|
|
2
|
-
#define DUCKDB_VERSION "0.6.2-
|
|
2
|
+
#define DUCKDB_VERSION "0.6.2-dev891"
|
|
3
3
|
#endif
|
|
4
4
|
#ifndef DUCKDB_SOURCE_ID
|
|
5
|
-
#define DUCKDB_SOURCE_ID "
|
|
5
|
+
#define DUCKDB_SOURCE_ID "45198c841e"
|
|
6
6
|
#endif
|
|
7
7
|
#include "duckdb/function/table/system_functions.hpp"
|
|
8
8
|
#include "duckdb/main/database.hpp"
|