Grafana can support custom aggregations using bucket script?

I have view the github issue: https://github.com/grafana/grafana/issues/5968

I want to know if this aggregation operation is already supported?

Or can use the result of query as the field into other query?

If support, which version?

Thank you very much!!!

Have someone help answer this question??