support COPY TO on partitioned tables without partition clause