Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 2.2.4, impala 2.3
Description
The following query has a "having" clause but it doesn't have a group by. This is invalid syntax and should be rejected.
select case when 1=1 then "didit" end as c1 from (select 1 as one) a having 1!=1; Query: select case when 1=1 then "didit" end as c1 from (select 1 as one) a having 1!=1 +-------+ | c1 | +-------+ | didit | +-------+