diff --git a/src/tests/sqlsmith/src/bin/main.rs b/src/tests/sqlsmith/src/bin/main.rs index 2f44031d06ab9..8e71500ec6a7f 100644 --- a/src/tests/sqlsmith/src/bin/main.rs +++ b/src/tests/sqlsmith/src/bin/main.rs @@ -20,8 +20,6 @@ use risingwave_sqlsmith::print_function_table; use risingwave_sqlsmith::runner::{generate, run, run_differential_testing}; use tokio_postgres::NoTls; -risingwave_expr_impl::enable!(); - #[derive(ClapParser, Debug, Clone)] #[clap(about, version, author)] struct Opt { diff --git a/src/tests/sqlsmith/src/lib.rs b/src/tests/sqlsmith/src/lib.rs index 2f7e1ce5eb14b..ebb0682a7aaaf 100644 --- a/src/tests/sqlsmith/src/lib.rs +++ b/src/tests/sqlsmith/src/lib.rs @@ -17,6 +17,8 @@ #![feature(lazy_cell)] #![feature(box_patterns)] +risingwave_expr_impl::enable!(); + use std::collections::{HashMap, HashSet}; use anyhow::{bail, Result};