laptop and a wrench

Error

Using CopyRows() or Sort() in ArcGIS Pro from a SQLite table to a geodatabase table lops off the last field in the output table.

ArcGIS Pro
Número de ID del error BUG-000174464
EnviadoFebruary 20, 2025
Última modificaciónJune 23, 2025
Relacionado conArcGIS Pro
Versión encontrada3.4.2
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoAs Designed

Información adicional

CopyRows() requires data having a field of the Object ID type named and aliased as OBJECTID. With mykey, the field in this issue, not meeting that requirement, CopyRows() creates an OBJECTID field of the data type Object ID and aliased OBJECTID. Since only one field of data type Object ID is allowed, CopyRows() drops the mykey field in this case. Sort() also does not recognize a field of the Object ID type that is not named and aliased as OBJECTID and thus does not list that field to sort on. The Copy tool maintains a field like mykey, which is of the type Object ID, and the name and alias are different. However, such a field is not available in the copied data to subsequently sort on.

Solución alternativa

Add the .gpkg database to the databases in the Catalog pane, and use Copy() to copy the table instead.

Pasos para reproducir

ID del error: BUG-000174464

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