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

....
Nice catch, changed.