This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
[Gold Standard] Updated plans for all tpcds queries with spark-only setup #377
Open
apoorvedave1
wants to merge
28
commits into
microsoft:master
Choose a base branch
from
apoorvedave1:gs_initial
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
208ea5e
gold standard initial commit
apoorvedave1 cc14991
fix q32
apoorvedave1 7c8ee78
Merge branch 'master' of github.com:apoorvedave1/hyperspace-1 into gs
apoorvedave1 fa9bd4a
Merge branch 'master' of github.com:apoorvedave1/hyperspace-1 into gs
apoorvedave1 4b007a5
keep only tpcds v1.4 and remove others
apoorvedave1 59207f6
Merge remote-tracking branch 'upstream/master' into gs_initial
apoorvedave1 5c0cee9
Trigger Build
apoorvedave1 900539d
build error: test with sequential run
apoorvedave1 530dfa7
revert previous commit
apoorvedave1 add01f1
update plans
apoorvedave1 8b58b6b
update plan
apoorvedave1 97e8441
added sorting for fixing build pipeline
apoorvedave1 411450f
udpated plans with sorting
apoorvedave1 b70f00b
fix q49
apoorvedave1 7880f40
updated instructions on how to run tests
apoorvedave1 3dcd2d5
test with updated plans for q47, q49
apoorvedave1 a7a1149
update q47, 49 plans
apoorvedave1 dd295a9
remove rogue query
apoorvedave1 f47fbd3
remove q49
apoorvedave1 d15a4e8
fix scalastyle
apoorvedave1 4c511fb
add query files for q49.sql
apoorvedave1 e48c713
restructuring
apoorvedave1 6c5a2f7
cleanup before rebase
apoorvedave1 25cb361
Merge remote-tracking branch 'upstream/master' into gs_initial
apoorvedave1 0b40853
updated plans based on the plan stability suite
apoorvedave1 32f5899
normalize location: fix
apoorvedave1 352f2f5
Merge branch 'master' of github.com:apoorvedave1/hyperspace-1 into gs…
apoorvedave1 d5fbec8
query plans for all queries
apoorvedave1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
326 changes: 48 additions & 278 deletions
326
src/test/resources/tpcds/spark-2.4/approved-plans-v1_4/q10/explain.txt
Large diffs are not rendered by default.
Oops, something went wrong.
83 changes: 37 additions & 46 deletions
83
src/test/resources/tpcds/spark-2.4/approved-plans-v1_4/q10/simplified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,65 @@ | ||
TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,cnt1,cnt2,cnt3,cnt4,cnt5,cnt6] | ||
WholeStageCodegen (10) | ||
HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,count] [count(1),cnt1,cnt2,cnt3,cnt4,cnt5,cnt6,count] | ||
TakeOrderedAndProject [cd_credit_rating,cd_dep_college_count,cd_dep_count,cd_dep_employed_count,cd_education_status,cd_gender,cd_marital_status,cd_purchase_estimate,cnt1,cnt2,cnt3,cnt4,cnt5,cnt6] | ||
WholeStageCodegen | ||
HashAggregate [cd_credit_rating,cd_dep_college_count,cd_dep_count,cd_dep_employed_count,cd_education_status,cd_gender,cd_marital_status,cd_purchase_estimate,count,count(1)] [cnt1,cnt2,cnt3,cnt4,cnt5,cnt6,count,count(1)] | ||
InputAdapter | ||
Exchange [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] #1 | ||
WholeStageCodegen (9) | ||
HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] [count,count] | ||
Project [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] | ||
Exchange [cd_credit_rating,cd_dep_college_count,cd_dep_count,cd_dep_employed_count,cd_education_status,cd_gender,cd_marital_status,cd_purchase_estimate] #1 | ||
WholeStageCodegen | ||
HashAggregate [cd_credit_rating,cd_dep_college_count,cd_dep_count,cd_dep_employed_count,cd_education_status,cd_gender,cd_marital_status,cd_purchase_estimate,count,count] [count,count] | ||
Project [cd_credit_rating,cd_dep_college_count,cd_dep_count,cd_dep_employed_count,cd_education_status,cd_gender,cd_marital_status,cd_purchase_estimate] | ||
BroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk] | ||
Project [c_current_cdemo_sk] | ||
BroadcastHashJoin [c_current_addr_sk,ca_address_sk] | ||
Project [c_current_cdemo_sk,c_current_addr_sk] | ||
Project [c_current_addr_sk,c_current_cdemo_sk] | ||
Filter [exists,exists] | ||
BroadcastHashJoin [c_customer_sk,cs_ship_customer_sk] | ||
BroadcastHashJoin [c_customer_sk,ws_bill_customer_sk] | ||
BroadcastHashJoin [c_customer_sk,ss_customer_sk] | ||
Filter [c_current_addr_sk,c_current_cdemo_sk] | ||
ColumnarToRow | ||
InputAdapter | ||
Scan parquet default.customer [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk] | ||
Project [c_current_addr_sk,c_current_cdemo_sk,c_customer_sk] | ||
Filter [c_current_addr_sk,c_current_cdemo_sk] | ||
Scan parquet default.customer [c_current_addr_sk,c_current_cdemo_sk,c_customer_sk] [c_current_addr_sk,c_current_cdemo_sk,c_customer_sk] | ||
InputAdapter | ||
BroadcastExchange #2 | ||
WholeStageCodegen (2) | ||
WholeStageCodegen | ||
Project [ss_customer_sk] | ||
BroadcastHashJoin [ss_sold_date_sk,d_date_sk] | ||
Filter [ss_sold_date_sk] | ||
ColumnarToRow | ||
InputAdapter | ||
Scan parquet default.store_sales [ss_sold_date_sk,ss_customer_sk] | ||
BroadcastHashJoin [d_date_sk,ss_sold_date_sk] | ||
Project [ss_customer_sk,ss_sold_date_sk] | ||
Filter [ss_sold_date_sk] | ||
Scan parquet default.store_sales [ss_customer_sk,ss_sold_date_sk] [ss_customer_sk,ss_sold_date_sk] | ||
InputAdapter | ||
BroadcastExchange #3 | ||
WholeStageCodegen (1) | ||
WholeStageCodegen | ||
Project [d_date_sk] | ||
Filter [d_year,d_moy,d_date_sk] | ||
ColumnarToRow | ||
InputAdapter | ||
Scan parquet default.date_dim [d_date_sk,d_year,d_moy] | ||
Filter [d_date_sk,d_moy,d_year] | ||
Scan parquet default.date_dim [d_date_sk,d_moy,d_year] [d_date_sk,d_moy,d_year] | ||
InputAdapter | ||
BroadcastExchange #4 | ||
WholeStageCodegen (4) | ||
WholeStageCodegen | ||
Project [ws_bill_customer_sk] | ||
BroadcastHashJoin [ws_sold_date_sk,d_date_sk] | ||
Filter [ws_sold_date_sk] | ||
ColumnarToRow | ||
InputAdapter | ||
Scan parquet default.web_sales [ws_sold_date_sk,ws_bill_customer_sk] | ||
BroadcastHashJoin [d_date_sk,ws_sold_date_sk] | ||
Project [ws_bill_customer_sk,ws_sold_date_sk] | ||
Filter [ws_sold_date_sk] | ||
Scan parquet default.web_sales [ws_bill_customer_sk,ws_sold_date_sk] [ws_bill_customer_sk,ws_sold_date_sk] | ||
InputAdapter | ||
ReusedExchange [d_date_sk] #3 | ||
ReusedExchange [d_date_sk] [d_date_sk] #3 | ||
InputAdapter | ||
BroadcastExchange #5 | ||
WholeStageCodegen (6) | ||
WholeStageCodegen | ||
Project [cs_ship_customer_sk] | ||
BroadcastHashJoin [cs_sold_date_sk,d_date_sk] | ||
Filter [cs_sold_date_sk] | ||
ColumnarToRow | ||
InputAdapter | ||
Scan parquet default.catalog_sales [cs_sold_date_sk,cs_ship_customer_sk] | ||
Project [cs_ship_customer_sk,cs_sold_date_sk] | ||
Filter [cs_sold_date_sk] | ||
Scan parquet default.catalog_sales [cs_ship_customer_sk,cs_sold_date_sk] [cs_ship_customer_sk,cs_sold_date_sk] | ||
InputAdapter | ||
ReusedExchange [d_date_sk] #3 | ||
ReusedExchange [d_date_sk] [d_date_sk] #3 | ||
InputAdapter | ||
BroadcastExchange #6 | ||
WholeStageCodegen (7) | ||
WholeStageCodegen | ||
Project [ca_address_sk] | ||
Filter [ca_county,ca_address_sk] | ||
ColumnarToRow | ||
InputAdapter | ||
Scan parquet default.customer_address [ca_address_sk,ca_county] | ||
Filter [ca_address_sk,ca_county] | ||
Scan parquet default.customer_address [ca_address_sk,ca_county] [ca_address_sk,ca_county] | ||
InputAdapter | ||
BroadcastExchange #7 | ||
WholeStageCodegen (8) | ||
Filter [cd_demo_sk] | ||
ColumnarToRow | ||
InputAdapter | ||
Scan parquet default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] | ||
WholeStageCodegen | ||
Project [cd_credit_rating,cd_demo_sk,cd_dep_college_count,cd_dep_count,cd_dep_employed_count,cd_education_status,cd_gender,cd_marital_status,cd_purchase_estimate] | ||
Filter [cd_demo_sk] | ||
Scan parquet default.customer_demographics [cd_credit_rating,cd_demo_sk,cd_dep_college_count,cd_dep_count,cd_dep_employed_count,cd_education_status,cd_gender,cd_marital_status,cd_purchase_estimate] [cd_credit_rating,cd_demo_sk,cd_dep_college_count,cd_dep_count,cd_dep_employed_count,cd_education_status,cd_gender,cd_marital_status,cd_purchase_estimate] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok