Created on 09-11-2018 03:54 AM - edited 09-16-2022 06:41 AM
Hi team,
when i am trying to run below query
select b.proc,b.yr,b.RCNT from table2 b
WHERE length(b.PROC)=5 AND (b.ytype='1' or b.PROC IN (SELECT c.tet FROM table1 c));
getting an error like this:
ERROR: AnalysisException: Subqueries in OR predicates are not supported:
can anyone help me in this ?
Created 04-23-2025 05:49 AM
please try the same in hive, i haven't validated from IMPALA end.
Created 05-06-2025 06:38 AM
so yes, it is working in hive and not in impala.
We are using impala, what can we do?
Created 05-07-2025 05:35 AM
Maybe @kbanik or @ChethanYM could help?
Regards,
Vidya Sargur,Created 05-07-2025 05:48 AM
It is not supported in Impala, Below is the Jira for your reference it is still in open state and not Resolved.
https://issues.apache.org/jira/browse/IMPALA-5226
Regards,
Chethan YM