test: use integer in predicates (#2673)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/24376/head
Nga Tran 2021-09-30 06:46:03 -04:00 committed by GitHub
parent 7316f3407a
commit 105b63b2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1122,7 +1122,7 @@ async fn sql_select_with_three_deletes_from_three_chunks_with_select_predicate()
run_sql_test_case(
scenarios::delete::ThreeDeleteThreeChunks {},
"SELECT * from cpu where bar = 1.0",
"SELECT * from cpu where bar = 1",
&expected,
)
.await;
@ -1144,7 +1144,7 @@ async fn sql_select_with_three_deletes_from_three_chunks_with_select_predicate()
run_sql_test_case(
scenarios::delete::ThreeDeleteThreeChunks {},
"SELECT * from cpu where foo = 'me' and (bar > 2.0 or bar = 1.0)",
"SELECT * from cpu where foo = 'me' and (bar > 2 or bar = 1.0)",
&expected,
)
.await;
@ -1155,7 +1155,7 @@ async fn sql_select_with_three_deletes_from_three_chunks_with_select_predicate()
run_sql_test_case(
scenarios::delete::ThreeDeleteThreeChunks {},
"SELECT * from cpu where foo = 'you' and (bar > 3.0 or bar = 1.0)",
"SELECT * from cpu where foo = 'you' and (bar > 3.0 or bar = 1)",
&expected,
)
.await;