laptop and a wrench

Erro

Querying a date field based on Epoch time values in ArcGIS GIS Server 10.5 REST endpoint of a hosted feature service stored in the relational ArcGIS Data Store 10.5.1 returns "Database Error".

Última Publicação: August 13, 2018 ArcGIS GIS Server
Número de ID do Erro BUG-000112945
EnviadoApril 4, 2018
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS GIS Server
Versão encontrada10.5.1
Sistema OperacionalRed Hat Enterprise Linux
Versão do Sistema Operacional7.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

By default, services support the SQL 92 standard when querying dates. This format is supported by all data sources on top of which the feature service can run. Format examples of this are as follows: = DATE 'YYYY-MM-DD' = TIMESTAMP 'YYYY-MM-DD HH:MI:SS' The epoch date format (testdate = '1522676196000') is not standard and is not supported across all data sources – it happens to work with elastic but does not work with other sources. For this reason we recommend using the SQL 92 format above.

Solução Provisória

It is also possible to note that if the WHERE clause used a specific date stamp in the form of  WHERE: testdate='2018-04-01', the query for the relational hosted feature layer returns the features correctly. Applications that use REST services to query date fields based on Epoch time only cannot use this workaround. 

Etapas para Reproduzir

ID do Erro: BUG-000112945

Software:

  • ArcGIS GIS Server

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