implemented insert on partitioned tables