on ArcGIS Server v. 10.1 SP1, through REST API I am using the Query operation for the layer. I have a problem with output statistics option of the query. When I enter the fully qualified name of the column as onstatisticField value of json (for example: gdb_vs.SDE.GAZDINSKE_JEDINICE.GJ) I get the unable to complete operation error.
When using output statistics in query operation on other layers, where column names are not qualified (without dots in its name, for example GJ), query works fine, and displays statistics results.