laptop and a wrench

不具合

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".

最後に公開された状態: August 13, 2018 ArcGIS GIS Server
不具合 ID 番号 BUG-000112945
送信されましたApril 4, 2018
最終更新日June 5, 2024
適用対象ArcGIS GIS Server
見つかったバージョン10.5.1
オペレーティング システムRed Hat Enterprise Linux
オペレーティング システムのバージョン7.0 64 Bit
ステータスWill Not Be Addressed

参考情報

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.

対処法

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. 

再現の手順

不具合 ID: BUG-000112945

ソフトウェア:

  • ArcGIS GIS Server

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動