Support Questions

Find answers, ask questions, and share your expertise

Convert recursive query to Hive

avatar
New Contributor

I am trying to convert a recursive query to Hive.

The structure of my query is as following

WITH RECURSIVE REG_AGGR as

( select * from abc where rn=1

union all

select * from REG_AGGR where REG_AGGR.id=abc.id

)

select * from REG_AGGR;

3 REPLIES 3

avatar
New Contributor

Are you able to find any solution?

avatar
New Contributor

any solution for this ?