Skip to content

Commit 6ef8164

Browse files
committed
Fix review comment
1 parent 4b2ad47 commit 6ef8164

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sqlparser_clickhouse.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ fn parse_group_by_with_modifier() {
684684

685685
#[test]
686686
fn test_prewhere() {
687-
match clickhouse().verified_stmt("SELECT * FROM t PREWHERE x = 1 WHERE y = 2") {
687+
match clickhouse_and_generic().verified_stmt("SELECT * FROM t PREWHERE x = 1 WHERE y = 2") {
688688
Statement::Query(query) => {
689689
let prewhere = query.body.as_select().unwrap().prewhere.as_ref();
690690
assert_eq!(
@@ -708,7 +708,7 @@ fn test_prewhere() {
708708
_ => unreachable!(),
709709
}
710710

711-
match clickhouse().verified_stmt("SELECT * FROM t PREWHERE x = 1 AND y = 2") {
711+
match clickhouse_and_generic().verified_stmt("SELECT * FROM t PREWHERE x = 1 AND y = 2") {
712712
Statement::Query(query) => {
713713
let prewhere = query.body.as_select().unwrap().prewhere.as_ref();
714714
assert_eq!(

0 commit comments

Comments
 (0)