laptop and a wrench

不具合

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.

最後に公開された状態: March 14, 2019 ArcGIS Pro
不具合 ID 番号 BUG-000120309
送信されましたFebruary 25, 2019
最終更新日June 5, 2024
適用対象ArcGIS Pro
見つかったバージョン2.3
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスNon-Reproducible

参考情報

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

対処法

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.

再現の手順

不具合 ID: BUG-000120309

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動