I have a feature service that has existed for a couple years. It has never had a definition query, nor did I want one. Recently, I had to make some data edits to the data via a Python script. That seemed to work as expected. To test whether the operation worked successfully I decided to open ArcGIS Pro, load the feature service into the table of contents and set a definition query to review the data that had been changed. Everything seemed fine so I removed the layer from Pro and closed it down.
Now the feature service on ArcIGIS Online is filtered to that definition query!!!??? Thousands of records have disappeared. How is this even a thing???? How is it possible that a local definition query showed up on ArcGIS online? Why is this even an option?
Regardless of whatever stupid reason made this happen, how do I remove the definition query from the feature service? This is a public facing service that needs to be corrected right now.