Support Questions

Find answers, ask questions, and share your expertise

ERROR: AnalysisException: Subqueries in OR predicates are not supported:

avatar
Reader

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 ?

13 REPLIES 13

avatar
Master Collaborator

please try the same in hive, i haven't validated from IMPALA end. 

avatar
Frequent Visitor

so yes, it is working in hive and not in impala.

We are using impala, what can we do?

avatar
Community Manager

Maybe @kbanik or @ChethanYM could help? 



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Collaborator

@Yigal 

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