Too Long; Didn't Read
Inevitably, we’ll someday come across legacy software, inconsistent databases, or integration modules that simply don’t work. The problem that refactoring costs development and validation time, and the business does not always have this time to invest, but at the same time needs the fix. Instead of fixing the database inconsistency, the script fetched the data it needed to the report from all related services and processes it all in memory. It's not that processing data in memory is a bad practice, it just depends on the problem you have.