[SPARK-3412][SQL]add missing row api

@chenghao-intel assigned this to me, check PR #2284 for previous discussion
I don't think there is any reason to have this function.  The update call works independent of type already.