Regarding Arcade aggregate functions like GroupBy():
What level of the stack does the aggregation/processing?
For example, does Arcade generate an SQL DISTINCT or GROUP BY query and send that to the database? (in my case, Oracle)
Or do all features get returned to ArcGIS Pro, and ArcGIS pro does the aggregation locally?