Files
doris/regression-test/data/dynamic_table_p0/sql/q05.out
lihangyu 043f77200f [Bug](dynamic-table) Fix column alignment logic and support filtering null values when slot is not null (#17842)
Before this PR when encountering null values with some columns which is specified as `NOT NULL`, null values will not be filtered,thi behavior does not match with the original load behavior.
Second column alignment logic has bug :

```
template <typename ColumnInserterFn>
void align_variant_by_name_and_type(ColumnObject& dst, const ColumnObject& src, size_t row_cnt,
                                    ColumnInserterFn inserter) {
    CHECK(dst.is_finalized() && src.is_finalized());
    // Use rows() here instead of size(), since size() will check_consistency
    // but we could not check_consistency since num_rows will be upgraded even
    // if src and dst is empty, we just increase the num_rows of dst and fill
    // num_rows of default values when meet new data
    size_t num_rows = dst.rows();
```
2023-03-17 16:53:30 +08:00

33 lines
436 B
Plaintext

-- This file is automatically generated. You should know what you did if you want to edit this
-- !q05 --
0
-- !q05_2 --
0
-- !q05_3 --
30417
-- !q05_4 --
getguesstimate/guesstimate-app 26
ericelliott/essential-javascript-links 16
FreeCodeCamp/FreeCodeCamp 14
tj/frontend-boilerplate 14
prakhar1989/awesome-courses 12
-- !q05_5 --
3487211075
-- !q05_6 --
94350289813772
-- !q05_7 --
518892546
-- !q05_8 --
0
-- !q05_9 --
56947