Making sure tables will be partitioned