Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,57 +1,56 @@
local exchange (GATHER, SINGLE, [])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local exchange was removed, this is nice

remote exchange (GATHER, SINGLE, [])
final aggregation over (channel$gid, groupid, id$gid)
local exchange (REPARTITION, HASH, ["channel$gid", "groupid", "id$gid"])
remote exchange (REPARTITION, HASH, ["channel$gid", "groupid", "id$gid"])
partial aggregation over (channel$gid, groupid, id$gid)
local exchange (REPARTITION, ROUND_ROBIN, [])
final aggregation over (s_store_id)
local exchange (GATHER, SINGLE, [])
remote exchange (REPARTITION, HASH, ["s_store_id"])
partial aggregation over (s_store_id)
remote exchange (GATHER, SINGLE, [])
final aggregation over (channel$gid, groupid, id$gid)
local exchange (REPARTITION, HASH, ["channel$gid", "groupid", "id$gid"])
remote exchange (REPARTITION, HASH, ["channel$gid", "groupid", "id$gid"])
partial aggregation over (channel$gid, groupid, id$gid)
local exchange (REPARTITION, ROUND_ROBIN, [])
final aggregation over (s_store_id)
local exchange (GATHER, SINGLE, [])
remote exchange (REPARTITION, HASH, ["s_store_id"])
partial aggregation over (s_store_id)
join (INNER, REPLICATED):
join (INNER, REPLICATED):
join (INNER, REPLICATED):
remote exchange (REPARTITION, ROUND_ROBIN, [])
scan store_sales
scan store_returns
local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan date_dim
remote exchange (REPARTITION, ROUND_ROBIN, [])
scan store_sales
scan store_returns
local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan store
final aggregation over (cp_catalog_page_id)
local exchange (GATHER, SINGLE, [])
remote exchange (REPARTITION, HASH, ["cp_catalog_page_id"])
partial aggregation over (cp_catalog_page_id)
scan date_dim
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tables are joined here in different order.

Do you have any possibility to benchmark this?

local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan store
final aggregation over (cp_catalog_page_id)
local exchange (GATHER, SINGLE, [])
remote exchange (REPARTITION, HASH, ["cp_catalog_page_id"])
partial aggregation over (cp_catalog_page_id)
join (INNER, REPLICATED):
join (INNER, REPLICATED):
join (INNER, REPLICATED):
remote exchange (REPARTITION, ROUND_ROBIN, [])
scan catalog_sales
scan catalog_returns
local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan date_dim
remote exchange (REPARTITION, ROUND_ROBIN, [])
scan catalog_sales
scan catalog_returns
local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan catalog_page
final aggregation over (web_site_id)
local exchange (GATHER, SINGLE, [])
remote exchange (REPARTITION, HASH, ["web_site_id"])
partial aggregation over (web_site_id)
scan date_dim
local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan catalog_page
final aggregation over (web_site_id)
local exchange (GATHER, SINGLE, [])
remote exchange (REPARTITION, HASH, ["web_site_id"])
partial aggregation over (web_site_id)
join (INNER, REPLICATED):
join (INNER, REPLICATED):
join (INNER, REPLICATED):
remote exchange (REPARTITION, ROUND_ROBIN, [])
scan web_sales
join (RIGHT, PARTITIONED):
remote exchange (REPARTITION, HASH, ["ws_item_sk_216", "ws_order_number_230"])
scan web_sales
local exchange (GATHER, SINGLE, [])
remote exchange (REPARTITION, HASH, ["wr_item_sk", "wr_order_number"])
scan web_returns
local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan date_dim
remote exchange (REPARTITION, ROUND_ROBIN, [])
scan web_sales
join (RIGHT, PARTITIONED):
remote exchange (REPARTITION, HASH, ["ws_item_sk_216", "ws_order_number_230"])
scan web_sales
local exchange (GATHER, SINGLE, [])
remote exchange (REPARTITION, HASH, ["wr_item_sk", "wr_order_number"])
scan web_returns
local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan web_site
scan date_dim
local exchange (GATHER, SINGLE, [])
remote exchange (REPLICATE, BROADCAST, [])
scan web_site
Loading