Single-threaded, idempotent ordered combining of all the appended data.
254751 {
254752 lock_guard<mutex> collection_guard(
lock);
254753
254754
254755 if (
types.empty()) {
254756 return;
254757 }
254758
254759
254762 D_ASSERT(ranges.empty());
254763 return;
254764 }
254765
254766
254768 D_ASSERT(!ranges.empty());
254769
254770 for (auto &range : ranges) {
254772 }
254774 ranges.clear();
254775
254776 if (validity_cols.empty()) {
254777 return;
254778 }
254779
254780 D_ASSERT(
inputs.get());
254781
254782
254783 vector<column_t> invalid_cols;
254784 for (auto &col_idx : validity_cols) {
254786 invalid_cols.emplace_back(col_idx);
254788 }
254789 }
254790
254791 if (invalid_cols.empty()) {
254792 return;
254793 }
254794
254795 WindowCursor cursor(*this, invalid_cols);
254796 idx_t target_offset = 0;
254797 while (cursor.Scan()) {
254798 const auto count = cursor.chunk.size();
254799 for (
idx_t i = 0; i < invalid_cols.size(); ++i) {
254800 auto &other = FlatVector::Validity(cursor.chunk.data[i]);
254801 const auto col_idx = invalid_cols[i];
254803 }
254804 target_offset +=
count;
254805 }
254806}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237