Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UT] Fix ASAN compile error and unstable UT (backport #55923) #55927

Merged
merged 1 commit into from
Feb 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class AggregateStreamingSinkOperator : public Operator {
AggrAutoState _auto_state{};
AggrAutoContext _auto_context;
LimitedMemAggState _limited_mem_state;
DECLARE_ONCE_DETECTOR(_set_finishing_once);
};

class AggregateStreamingSinkOperatorFactory final : public OperatorFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ set topn_filter_back_pressure_mode='2';
set enable_profile='true';
-- result:
-- !result
[UC]select t0.c1, repeat('x', t0.c1+t1.c1) as a, repeat('y',t1.c0 + t1.c0) as b from t0 join[broadcast] t1 on t0.c0 = t1.c0 order by 1 limit 10;
set enable_async_profile=false;
-- result:
-- !result
[UC]select t0.c1, repeat('x', t0.c1+t1.c1) as a, repeat('y',t1.c0 + t1.c0) as b from t0 join[broadcast] t1 on t0.c0 = t1.c0 order by 1 limit 10;
-- result:
0 xxxxxxx yy
0 xxxxxxxxx yy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ insert into t0 select t0.* from t0, Table(generate_series(1,10));
insert into t1 select c0, c1 from Table(generate_series(1,10000)) ta(c0), Table(generate_series(1,10)) tb(c1);
set topn_filter_back_pressure_mode='2';
set enable_profile='true';
[UC]select t0.c1, repeat('x', t0.c1+t1.c1) as a, repeat('y',t1.c0 + t1.c0) as b from t0 join[broadcast] t1 on t0.c0 = t1.c0 order by 1 limit 10;
set enable_async_profile=false;
[UC]select t0.c1, repeat('x', t0.c1+t1.c1) as a, repeat('y',t1.c0 + t1.c0) as b from t0 join[broadcast] t1 on t0.c0 = t1.c0 order by 1 limit 10;
create table profile_table properties("replication_num"="1") as select line from table(unnest(split(get_query_profile(last_query_id()),"\n"))) t(line);
select assert_true(count(1)>0) from profile_table where line like '%TopnRuntimeFilter%';
Loading