Dynamically generate the queries to load a partitioned store_sales table...

....
I assume this script doesn't have any addition requirement other than those required by impala-shell, right?