Fix bug in SparkLoadTask for `CACHE <partitioned_table>`

Original issue: in SparkLoadTask, the materialization process for each partition would result in a new partitioned table entry ... so the only the last partition would actually be registered in the PartititonedMemoryTable metatracker