Support subschema in overwriteByKey