laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000158295
已提交May 13, 2023
上次修改时间December 12, 2024
适用范围ArcGIS API for Python
找到的版本2.1.0
操作系统Windows OS
操作系统版本10.0 64 Bit
状态As Designed

附加信息

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.

解决办法

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

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

重现步骤

漏洞 ID: BUG-000158295

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项