Adobe interview question

How would you pull this data out of this SQL table without loading it all into memory?

Interview Answers

Anonymous

10 Mar 2015

What's the answer for this?

Anonymous

10 Mar 2015

The answer I gave was instead of loading it into memory to do your processing, you would instead preprocess the file you wanted using unix command line programs and then you create a stream to the DB file and read data in from it. Basically the answer is you don't load it all into memory. You use input/output steams to process the data one line at a time.