-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TPC-X query plan tests #2022
TPC-X query plan tests #2022
Conversation
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.
Good to have these here, just a few minor comments on generation code
} | ||
|
||
var err error | ||
switch cmd { |
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.
Seems like a useless extra switch
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.
deleted
path: enginetest/queries/tpch_plans.go | ||
- name: TpccPlanTests | ||
path: enginetest/queries/tpcc_plans.go | ||
# - name: TpcdsPlanTests |
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.
Uncomment?
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.
we can't parse them yet
enginetest/scriptgen/setup/helper.go
Outdated
ImdbPlanSetup [][]SetupScript | ||
LoadDataSetup [][]SetupScript | ||
XySetup [][]SetupScript | ||
JoinsSetup [][]SetupScript | ||
) | ||
|
||
func init() { |
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.
What's the point of this init block, why can't these be declared inline
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.
rewrote
Added schemas, stats, query plans for:
Added
plangen
to auto-update the tests.We cannot parse all of the TPC-DS query plans yet. I saw some ROLLUP and aggregation validation errors.
Excluding data ops benchmark because the plans are not interesting.