Statistics and SpatialFilter

Discussion created by olivierdev on Apr 23, 2012
Latest reply on Jan 22, 2013 by gstanevicius-hnit-baltic-lt-esridist
With ArcGIS for Server 10.1 REST API, it seems that when performing a query with oustatistics with a spatial filter (Input Geometry and Spatial Relationship), the spatial filter is not applied.
The query is done on all the features, not only the ones matching the spatial filter.

Is it supposed to be like this (strange) or is it a bug that will be corrected in the final release?

Thanks in advance.