laptop and a wrench

Bogue

The item.delete_features function fails when ran synchronously for a hosted layer with sync enabled when the number of features is greater than 300,000.

ArcGIS API for Python
Numéro d’ID de bogue BUG-000158295
EnvoiMay 13, 2023
Dernière modificationDecember 12, 2024
S’applique àArcGIS API for Python
Version trouvée2.1.0
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

This is expected with large deletes. When setting future=True, under the hood, the REST API process these large deletes more efficiently. The service closes the connection and produces the error codes, not the Python API.

Solution de contournement

Add the future=True parameter (as shown below) to delete the features with no errors.

item.delete_features(where='1=1', future=True)

Étapes pour reproduire

ID de bogue: BUG-000158295

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement