duckdb 0.3.5-dev661.0 → 0.3.5-dev666.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 +10 -2
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +35436 -35436
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -1261,7 +1261,7 @@ public:
|
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
1263
|
template <class T, class RETURN_TYPE = unique_ptr<T>, typename... ARGS>
|
|
1264
|
-
RETURN_TYPE ReadSerializable(RETURN_TYPE default_value, ARGS &&...args) {
|
|
1264
|
+
RETURN_TYPE ReadSerializable(RETURN_TYPE default_value, ARGS &&... args) {
|
|
1265
1265
|
if (field_count >= max_field_count) {
|
|
1266
1266
|
// field is not there, read the default value
|
|
1267
1267
|
return default_value;
|
|
@@ -1283,7 +1283,7 @@ public:
|
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
1285
|
template <class T, class RETURN_TYPE = unique_ptr<T>, typename... ARGS>
|
|
1286
|
-
RETURN_TYPE ReadRequiredSerializable(ARGS &&...args) {
|
|
1286
|
+
RETURN_TYPE ReadRequiredSerializable(ARGS &&... args) {
|
|
1287
1287
|
if (field_count >= max_field_count) {
|
|
1288
1288
|
// field is not there, read the default value
|
|
1289
1289
|
throw SerializationException("Attempting to read mandatory field, but field is missing");
|
|
@@ -105054,6 +105054,14 @@ void ColumnArrowToDuckDB(Vector &vector, ArrowArray &array, ArrowScanState &scan
|
|
|
105054
105054
|
auto &struct_validity_mask = FlatVector::Validity(vector);
|
|
105055
105055
|
for (idx_t type_idx = 0; type_idx < (idx_t)array.n_children; type_idx++) {
|
|
105056
105056
|
SetValidityMask(*child_entries[type_idx], *array.children[type_idx], scan_state, size, nested_offset);
|
|
105057
|
+
if (!struct_validity_mask.AllValid()) {
|
|
105058
|
+
auto &child_validity_mark = FlatVector::Validity(*child_entries[type_idx]);
|
|
105059
|
+
for (idx_t i = 0; i < size; i++) {
|
|
105060
|
+
if (!struct_validity_mask.RowIsValid(i)) {
|
|
105061
|
+
child_validity_mark.SetInvalid(i);
|
|
105062
|
+
}
|
|
105063
|
+
}
|
|
105064
|
+
}
|
|
105057
105065
|
ColumnArrowToDuckDB(*child_entries[type_idx], *array.children[type_idx], scan_state, size,
|
|
105058
105066
|
arrow_convert_data, col_idx, arrow_convert_idx, nested_offset, &struct_validity_mask);
|
|
105059
105067
|
}
|
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.5-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "e5df529e4"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.5-dev666"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|