laptop and a wrench

Error

The GROUP BY SQL clause in data access using cursors does not work as expected.

ArcGIS Pro
Número de ID del error BUG-000159926
EnviadoJuly 18, 2023
Última modificaciónJanuary 6, 2026
Relacionado conArcGIS Pro
Versión encontradaN/A
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoAs Designed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000159926

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga