You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT regionkey, count(*)
FROM nation
GROUP BY regionkey;
where the table "nation" has multiple sources and each source support aggregation push-down. So whether Trino supports pushing down partial aggregation to each source, and doing global aggregation itself, if the associative law and the commutative law are satisfied. e.g. the count operator in the example can be expressed as multiple partial counts and a global sum;
This discussion was converted from issue #14582 on October 12, 2022 22:42.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For example a query like this:
where the table "nation" has multiple sources and each source support aggregation push-down. So whether Trino supports pushing down partial aggregation to each source, and doing global aggregation itself, if the associative law and the commutative law are satisfied. e.g. the count operator in the example can be expressed as multiple partial counts and a global sum;
Beta Was this translation helpful? Give feedback.
All reactions