duckdb 0.6.2-dev889.0 → 0.6.2-dev893.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/extension/parquet/column_reader.cpp +7 -0
- package/src/duckdb/src/function/table/version/pragma_version.cpp +2 -2
- package/src/duckdb/third_party/libpg_query/include/parser/gram.hpp +1 -1
- package/src/duckdb/third_party/libpg_query/src_backend_parser_gram.cpp +13322 -13375
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-dev893"
|
|
3
3
|
#endif
|
|
4
4
|
#ifndef DUCKDB_SOURCE_ID
|
|
5
|
-
#define DUCKDB_SOURCE_ID "
|
|
5
|
+
#define DUCKDB_SOURCE_ID "d778a6163f"
|
|
6
6
|
#endif
|
|
7
7
|
#include "duckdb/function/table/system_functions.hpp"
|
|
8
8
|
#include "duckdb/main/database.hpp"
|
|
@@ -1065,7 +1065,7 @@ typedef union YYSTYPE
|
|
|
1065
1065
|
PGSubLinkType subquerytype;
|
|
1066
1066
|
PGViewCheckOption viewcheckoption;
|
|
1067
1067
|
}
|
|
1068
|
-
/* Line
|
|
1068
|
+
/* Line 1489 of yacc.c. */
|
|
1069
1069
|
#line 1070 "third_party/libpg_query/grammar/grammar_out.hpp"
|
|
1070
1070
|
YYSTYPE;
|
|
1071
1071
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|