laptop and a wrench

Erro

The UpdateCursor class in ArcPy returns the error message, "RuntimeError: An expected Field was not found or could not be retrieved properly" when the TOP prefix is used as a SQL Clause to return only a specified number of records for a feature class or table in a SQL geodatabase.

Última Publicação: March 14, 2019 ArcGIS Pro
Número de ID do Erro BUG-000120309
EnviadoFebruary 25, 2019
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Pro
Versão encontrada2.3
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusNon-Reproducible

Informações Adicionais

This issue is not reproducible in the latest version of the software. For inquiries or if the issue persists, contact Esri Technical Support.

Solução Provisória

The postfix 'ORDER BY' clause correctly functions which means the table list can be sorted in the returned result. After the list is sorted, use a while loop to iterate through and update each row a set number of times. For example, a while loop iterating up to 20 is used to only update the first 20 rows of the table that are already sorted. This simulates the same results as using the 'TOP 20' clause.

Etapas para Reproduzir

ID do Erro: BUG-000120309

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download