Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.2
-
None
Description
The following query throws an analysis exception:
select * from (select * from functional.alltypestiny case when int_col in (1,2) then 1 else 2 end as b) t where b > 0;
Error: IllegalStateException: Failed analysis after expr substitution Cause by: AnalysisException: IN and/or EXISTS subquery predicates are not supported in binary predicates: CASE WHEN int_col in (1,2) THEN 1 ELSE 2 END <10
Attachments
Issue Links
- duplicates
-
IMPALA-1949 Analysis exception when a binary predicate contains an IN operator with values.
- Resolved