Using Parlour with custom sql query execution before Sqoop export/import...

....
My minor suggestion about `getOrElse` and the surrounding function applies here too, but it's up to you what you think it cleaner.