The GROUP BY SQL clause in data access using cursors does not work as expected.
ArcGIS Pro
漏洞 ID 编号
BUG-000159926
已提交
July 18, 2023
上次修改时间
January 6, 2026
适用范围
ArcGIS Pro
找到的版本
N/A
操作系统
Windows OS
操作系统版本
N/A
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
The GROUP BY clause is an aggregation function, and columns must appear in the selected columns to be used in the aggregation GROUP BY clause. Applying a GROUP BY without aggregation columns such as SUM or MAX is unlikely to produce meaningful results but is possible by passing each column into the postfix, for example, "GROUP BY county, age, name." For examples that pass strings using the Python and keyword, this performs a boolean operation on the two strings, so the final string is returned. For example, test = 'a' and 'b' returns 'b'. Please refer to Python truth value testing available at https://docs.python.org/3/library/stdtypes.html#truth-value-testing for more information.