laptop and a wrench

Bug

The arcgis.features module .query function has long output times in ArcGIS Notebooks, while the same query completes in seconds in ArcGIS REST API.

ArcGIS API for Python
Bug ID Number BUG-000163343
SubmittedNovember 30, 2023
Last ModifiedApril 11, 2025
Applies toArcGIS API for Python
Version found2.2.0
Operating SystemAzure AKS
Operating System VersionN/A
StatusIn Review

Workaround

Change the where clause from "where='1=1'" to "where='ObjectID<#'" to reduce the query time. For example, if there are 1,000 records in the dataset, make the where clause be "where='ObjectID<1000'" to still query all of the records.

Steps to Reproduce

Bug ID: BUG-000163343

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options