标签: clickhouse
我希望在Clickhouse中构建如下所示的SQL
SELECT * FROM Student WHERE (:fname IS NULL OR FirstName = :fname) AND (:laname IS NULL OR LastName = :lname)
但是遇到异常DB::Exception: Cannot compare std::string with DB::Null
DB::Exception: Cannot compare std::string with DB::Null