Hello @Marco_Dell_Anna, meanwhile if you want to, you can try this approach to execute the aggregation query in Java: