Can we implement nested for/while loop in spark? I have to convert some SQL
procedure code into Spark. And it has multiple loops and processing and I
want to implement this in spark. How to implement this.

   1. open cursor and fetch for personType
   2. open cursor and fetch for personGroup
   3. open cursor and fetch for personname
   4.  some processing
   5. end cursor personname
   6. end cursor personGroup
   7. end cursor personType

something like this I want to implement in spark. Please suggest

Reply via email to