duckdb 0.6.2-dev964.0 → 0.6.2-dev969.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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#ifndef DUCKDB_VERSION
|
|
2
|
-
#define DUCKDB_VERSION "0.6.2-
|
|
2
|
+
#define DUCKDB_VERSION "0.6.2-dev969"
|
|
3
3
|
#endif
|
|
4
4
|
#ifndef DUCKDB_SOURCE_ID
|
|
5
|
-
#define DUCKDB_SOURCE_ID "
|
|
5
|
+
#define DUCKDB_SOURCE_ID "8fa1b6e786"
|
|
6
6
|
#endif
|
|
7
7
|
#include "duckdb/function/table/system_functions.hpp"
|
|
8
8
|
#include "duckdb/main/database.hpp"
|
|
@@ -129,19 +129,9 @@ void StructColumnData::Append(BaseStatistics &stats, ColumnAppendState &state, V
|
|
|
129
129
|
// append the null values
|
|
130
130
|
validity.Append(*stats.validity_stats, state.child_appends[0], vector, count);
|
|
131
131
|
|
|
132
|
-
auto &struct_validity = FlatVector::Validity(vector);
|
|
133
|
-
|
|
134
132
|
auto &struct_stats = (StructStatistics &)stats;
|
|
135
133
|
auto &child_entries = StructVector::GetEntries(vector);
|
|
136
134
|
for (idx_t i = 0; i < child_entries.size(); i++) {
|
|
137
|
-
if (!struct_validity.AllValid()) {
|
|
138
|
-
// we set the child entries of the struct to NULL
|
|
139
|
-
// for any values in which the struct itself is NULL
|
|
140
|
-
child_entries[i]->Flatten(count);
|
|
141
|
-
|
|
142
|
-
auto &child_validity = FlatVector::Validity(*child_entries[i]);
|
|
143
|
-
child_validity.Combine(struct_validity, count);
|
|
144
|
-
}
|
|
145
135
|
sub_columns[i]->Append(*struct_stats.child_stats[i], state.child_appends[i + 1], *child_entries[i], count);
|
|
146
136
|
}
|
|
147
137
|
}
|