| Numéro d’ID de bogue |
BUG-000112945 |
| Envoi | April 4, 2018 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS GIS Server |
| Version trouvée | 10.5.1 |
| Système d’exploitation | Red Hat Enterprise Linux |
| Version du système d’exploitation | 7.0 64 Bit |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
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.
Solution de contournement
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.
Étapes pour reproduire
ID de bogue: BUG-000112945
Logiciel: