### Describe the bug ```sql dev=> SELECT 1 having null; ERROR: QueryError: internal error: argument of HAVING must be boolean, not type Varchar dev=> ``` ### To Reproduce ```sql SELECT 1 having null; ``` ### Expected behavior ``` postgres=# select 1 having null; ?column? ---------- ``` ### Additional context _No response_