I am creating a script that makes a feature class using an existing on SDE, puts some data in it, and runs some processing on it, and then appends the data back to the original feature class using the append tool.
I create a tmp feature class in memory for this, which seems fine, but when I go to append back to the original feature class, the field names are different.
For example, OBJECTID field on SDE is renamed objectid in memory, thus breaking the append (similar behavior for any st_* field).
Is there a solution to this? I'd rather not use insert and update cursor...