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

[chore](regression) Add 'sync' after stream_load in some cases #18945

Merged
merged 1 commit into from
Apr 23, 2023
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 @@ -78,6 +78,9 @@ suite("test_current_timestamp") {

time 10000 // limit inflight 10s
}

sql "sync"

qt_stream_load_csv1 """ select count(*) from ${tableName} where id > 4 and to_date(dt_0) = to_date(dt_1); """
qt_stream_load_csv2 """ select count(*) from ${tableName} where id > 4 and to_date(dt_2) = to_date(dt_3); """
qt_stream_load_csv3 """ select count(*) from ${tableName} where id > 4 and to_date(dt_4) = to_date(dt_5); """
Expand All @@ -98,6 +101,9 @@ suite("test_current_timestamp") {

time 10000 // limit inflight 10s
}

sql "sync"

qt_stream_load_json1 """ select count(*) from ${tableName} where id > 8 and to_date(dt_0) = to_date(dt_1); """
qt_stream_load_json2 """ select count(*) from ${tableName} where id > 8 and to_date(dt_2) = to_date(dt_3); """
qt_stream_load_json3 """ select count(*) from ${tableName} where id > 8 and to_date(dt_4) = to_date(dt_5); """
Expand All @@ -117,6 +123,9 @@ suite("test_current_timestamp") {
file 'test_current_timestamp_streamload.json'
time 10000 // limit inflight 10s
}

sql "sync"

qt_stream_load_json5 """ select id, name, dt_1 from ${tableName2} order by id; """
qt_stream_load_json6 """ select count(*) from ${tableName2} where dt_2 is not NULL; """
}
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,8 @@ suite("test_aggregate_all_functions") {
inputIterator rows.iterator()
}

sql "sync"

qt_select48 """select dt, id, quantile_percent(quantile_union(price), 0) from ${tableName_21} group by dt, id order by dt, id"""

qt_select49 """select dt, id, quantile_percent(quantile_union(price), 0.5) from ${tableName_21} group by dt, id order by dt, id"""
Expand Down