```2022-12-30T11:53:13.130Z DEBUG clickhouseReader...
# support
q
Copy code
2022-12-30T11:53:13.130Z DEBUG clickhouseReader/reader.go:1806 
  WITH
   quantilesMergeState(0.5, 0.75, 0.9, 0.95, 0.99)(duration_quantiles_state) AS duration_quantiles_state,
   finalizeAggregation(duration_quantiles_state) AS result
  SELECT
   src as parent,
   dest as child,
   result[1] AS p50,
   result[2] AS p75,
   result[3] AS p90,
   result[4] AS p95,
   result[5] AS p99,
   sum(total_count) as callCount,
   sum(total_count)/ @duration AS callRate,
   sum(error_count)/sum(total_count) as errorRate
  FROM signoz_traces.dependency_graph_minutes
  WHERE toUInt64(toDateTime(timestamp)) >= @start AND toUInt64(toDateTime(timestamp)) <= @end
  GROUP BY
   src,
   dest[{start 1672399389} {end 1672401159} {duration 1770}]
2022-12-30T11:53:13.135Z ERROR clickhouseReader/reader.go:1811 Error in processing sql query: code: 184, message: Aggregate function quantilesMergeState(0.5, 0.75, 0.9, 0.95, 0.99)(duration_quantiles_state) is found inside another aggregate function in query: While processing quantilesMergeState(0.5, 0.75, 0.9, 0.95, 0.99)(duration_quantiles_state)
<http://go.signoz.io/signoz/pkg/query-service/app/clickhouseReader.(*ClickHouseReader).GetDependencyGraph|go.signoz.io/signoz/pkg/query-service/app/clickhouseReader.(*ClickHouseReader).GetDependencyGraph>
 /go/src/github.com/signoz/signoz/pkg/query-service/app/clickhouseReader/reader.go:1811
<http://go.signoz.io/signoz/pkg/query-service/app.(*APIHandler).dependencyGraph|go.signoz.io/signoz/pkg/query-service/app.(*APIHandler).dependencyGraph>
 /go/src/github.com/signoz/signoz/pkg/query-service/app/http_handler.go:1344
<http://go.signoz.io/signoz/pkg/query-service/app.ViewAccess.func1|go.signoz.io/signoz/pkg/query-service/app.ViewAccess.func1>
 /go/src/github.com/signoz/signoz/pkg/query-service/app/http_handler.go:250
net/http.HandlerFunc.ServeHTTP
 /usr/local/go/src/net/http/server.go:2047
<http://go.signoz.io/signoz/ee/query-service/app.loggingMiddleware.func1|go.signoz.io/signoz/ee/query-service/app.loggingMiddleware.func1>
 /go/src/github.com/signoz/signoz/ee/query-service/app/server.go:220
net/http.HandlerFunc.ServeHTTP
 /usr/local/go/src/net/http/server.go:2047
<http://go.signoz.io/signoz/ee/query-service/app.(*Server).analyticsMiddleware.func1|go.signoz.io/signoz/ee/query-service/app.(*Server).analyticsMiddleware.func1>
 /go/src/github.com/signoz/signoz/ee/query-service/app/server.go:264
net/http.HandlerFunc.ServeHTTP
 /usr/local/go/src/net/http/server.go:2047
<http://go.signoz.io/signoz/ee/query-service/app.setTimeoutMiddleware.func1|go.signoz.io/signoz/ee/query-service/app.setTimeoutMiddleware.func1>
 /go/src/github.com/signoz/signoz/ee/query-service/app/server.go:287
net/http.HandlerFunc.ServeHTTP
 /usr/local/go/src/net/http/server.go:2047
<http://github.com/gorilla/mux.(*Router).ServeHTTP|github.com/gorilla/mux.(*Router).ServeHTTP>
 /go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210
<http://github.com/rs/cors.(*Cors).Handler.func1|github.com/rs/cors.(*Cors).Handler.func1>
 /go/pkg/mod/github.com/rs/cors@v1.7.0/cors.go:219
net/http.HandlerFunc.ServeHTTP
 /usr/local/go/src/net/http/server.go:2047
<http://github.com/gorilla/handlers.CompressHandlerLevel.func1|github.com/gorilla/handlers.CompressHandlerLevel.func1>
 /go/pkg/mod/github.com/gorilla/handlers@v1.5.1/compress.go:141
net/http.HandlerFunc.ServeHTTP
 /usr/local/go/src/net/http/server.go:2047
net/http.serverHandler.ServeHTTP
 /usr/local/go/src/net/http/server.go:2879
net/http.(*conn).serve
 /usr/local/go/src/net/http/server.go:1930
s
What is you ClickHouse version?