The arcpy.da.SearchCursor queries produce inconsistent results if ordering is used.
Last Published: December 10, 2015ArcGIS for Desktop
Bug ID Number
BUG-000091958
Submitted
November 5, 2015
Last Modified
June 5, 2024
Applies to
ArcGIS for Desktop
Version found
10.2.2
Status
Non-Reproducible
This issue was not reproducible when tested by the development team. Issues may be given this status when they cannot be reproduced or are no longer relevant in a development version of the software, but a specific fix was not installed to address the issue. The issue's Additional Information section may contain further explanation.
Additional Information
Unable to reproduce
Workaround
Remove the SQL postfix and use the Python sorted method instead of ORDER BY. cursor = sorted(arcpy.da.SearchCursor(fc_path, search_fields, where))